Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Browsing all 50049 articles
Browse latest View live
↧

Select random text value from column and assign to variable

I have a column with a bunch of text in column A in sheet "Rate". I want my macro to randomly select one of the text values and use that as the value for a variable. For example here is pseudo code:...

View Article


Image may be NSFW.
Clik here to view.

exporting my data to another workbook

hi i need your help.. i am a real newbie in macro and i developed this worksheet watching youtube. but for the life of me, i just can't get the SUBMIT button to work. All I want is that when I click...

View Article


Match & Delete

Hi Gurus: I am trying to get a VBA code to help me search the content of a cell from another cell,and delete the matched content from the second cell. A sample file is attached and a Pseudo code is...

View Article

Automatically copy data from one worksheet to another based on a specific...

How would I Automatically copy a row of data from one worksheet to another worksheet if I enter a specific word/text in a cell? For example: I have "Worksheet1" & "Worksheet2". In "Worksheet1" I...

View Article

Pull information out of outlook to put in excel

Hi I am trying to create a VBA or a macro that will pull contact information from outlook and put it on a sign in sheet. I have done the best that I possibly can to create an example to give an idea of...

View Article


Image may be NSFW.
Clik here to view.

Problem using a macro from one workbook for a similar purpose in another...

Hello. A few days ago, someone assisted me in creating a macro that enabled me to copy certain cells from one sheet to another when a check box was ticked. Works like a charm. I have another workbook...

View Article

Image may be NSFW.
Clik here to view.

How to make V-lookup in Macro

I have Vlookup code in excel and I want to make macro code with the formula is: Formula: =VLOOKUP(A1,table!$A$1:$B$5,2,FALSE)*B1 if value in sheet "data",column B enters… the code running in column C...

View Article

Image may be NSFW.
Clik here to view.

Cannot get COMPARE fundtion to find differences then perform actions

See attached workbook. I cannot get the COMPARE function to firstly find differences in the contents of two worksheets, then perform a number of tasks on those differences before cycling through to the...

View Article


Spin button and text box

I'm trying to pair a text box and spin button together. I would like the spin button to vary the value in the text box up and down by .5% per click between the range of 5% and 12%. I think the trouble...

View Article


Formula to search, match value, search again, return SUM

Looking for a formula to do the following. 1. Search a range of cells, say A25 through Z25, for the word Monday. It will appear several times. Let's say Monday is in C3 and D4. 2. Each time Monday is...

View Article

Image may be NSFW.
Clik here to view.

Filter data from a Master sheet based on multiple criteria by VBA code

Hi All, I need a vba code for this below problem, i have attached a sample file. I have a master sheet with data, In the second sheet i have criteria selection, based on criteria, data should be...

View Article

Retrieve Data From Multiple Worksheets By Matching Column Headers And Row IDs

Hello Dear Excel Expert! I got an vba code that does the followings Loop through all worksheets in a workbook. Copy Data in Sheet(1) By Matching Column Headers. Here is the code Code: Sub...

View Article

Can DIM values be lists?

Lets say I have DIM Value_1 and DIM Value_2. Every time I do "Value_1 = ..." I want the value replaced, which is what happens already. However, when I update Value_2 I want it to add the value, so that...

View Article


Open file from location using VBA code - file name changes everytime.

Hi, I need help to write a code to open a User name workbook from a location. This code should be in master file (Update_Report.xls) user will enter data in master file & press button to perform...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Copy data with negative value in separate sheet

Hello: Please refer to attached sheet. I have lots of data in Sheet1 Column A:Column P. I need a VB Macro or formula to separate out in sheet2 all the data where Data in sheet1 column P is negative. I...

View Article


[SOLVED] Copying Excel Range into existing MS Word Table

Hello Everyone! :confused: I have a range of data on Sheet6.Range(A4:C). I need to post each cell in the Range(A4:C) to an existing Word table beginning in (C1,R5). Obviously, I need each excel row in...

View Article

Image may be NSFW.
Clik here to view.

Running This Macro on all of my pages

Hi all, I am very new to macros and I was wondering how you could run the macro I just made across all of my pages in the document? Any ideas? I have attached the document, thanks for your help in...

View Article


[SOLVED] password protect sheets

Hello, is it possible to password protect sheets so that a lookup macro will still find information on the password protected sheets but users are not able to view or modify those sheets (but enable...

View Article

edit formula that returns 0

Hello, This is a formula in Italian: =SE(VAL.ERRORE(INDICE(posizioni!$C:$C;CONFRONTA(A1;posizioni!$B:$B; 0)));"";INDICE(posizioni!$C:$C;CONFRONTA(A1;posizioni!$B:$B; 0))) translated into English:...

View Article

How To Use a ComboBox to Search Matching Files Name & Open it From A Folder

Hi need some help. Currently i am working on creating a "Sales & Purchase Directory Worksheet" which i updating my sales and purchasing data and for all the sales invoice or purchase invoice or...

View Article
Browsing all 50049 articles
Browse latest View live