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

Macro to Copy Values

Hi.. I have a worksheet called INPUTS where i input values in two diferent ranges: I10:I19 and L10:L19 And what i need is everytime i enter any value in any cell of these ranges, the macro copies a...

View Article


Macro to match values in cells separated by semicolon and comma

Dear All, My excel sheet contains 6 columns with information that is related to each other. In 3 of the columns (D-F) there are multiple entries, most of the time separated either by "%7C" and/or by a...

View Article


excel made interface required for employee record i.e. personal data,...

dear all, if anyone provide the subject module (excel made). template or example file will be helpful for my work. regards, Virgo

View Article

[SOLVED] How do I convert text ie apple to string "apple" in excel or VBA?

How do I convert text ie apple to string "apple" in excel or VBA? I need the text as a string to use MATCH. I have looked everywhere but cant find a way. for example: if you put kk in cell A1, pp in...

View Article

Creating a PowerPoint chart from Excel source data?

Hi, I have data in an Excel file, and I would like to create a PPT slide with a column chart on it. Here's the important thing: I need the actual Excel data self-contained within the PowerPoint. In the...

View Article


Limit copy range baised on visible data

I have a worksheet that lists data in a table to be added to a "Jobs Log". The table consists of 13 rows all populated from formulas. The code as shown will copy the data but if some rows are blank and...

View Article

If function based on color of the shape

I have a traffic light(Shapes("light") and I have a car(shapes("car"). What I want to do is control car's movement according to the traffic light's color. If the color is green, movement of a car is...

View Article

2 combo boxes add items

Hi all, The below code is not working. i have userform with 2 combo boxes. if i select v no. in combo box 1 then combo box 2 should show only total sheet. it is showing. but when i select v name in...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Tweaking an Excel 2003 macro

The following macro ("Test") is supposed to search worksheet 1 (sample attached) for specified text terms, copy the rows that contains the search term to worksheet 2, and finally highlight the cells...

View Article


Image may be NSFW.
Clik here to view.

Macro to select worksheet based on cell value and then return data to diff...

I'm new to VBA and would like to run a macro that selects the corresponding worksheet based on a cell value and then returns data within that worksheet to a "summary" worksheet. I have attached the...

View Article

Adding new rows changing cell values!

Hey guys I have a vba code Sheets("Inventory").Range("A10").EntireRow.Insert Shift:=x1down, adding a row to the top of the table. Each time I push down the rest of the rows, all the reference values...

View Article

Stepped Fee Calculations with Max for each tier

I've looked around and need a quick formula to do a stepped fee calculation with a max amount for each tier and can't figure out how to use what I did find and add the max figure. We process...

View Article

Image may be NSFW.
Clik here to view.

Save Load function

hi, I'm new to VBA so this may sound simple to do. How do you save the data in columas via a save and load button... what would be the code! I need the data saved to a .txt file... can this be do....

View Article


Currency symbol always in box

Hi I'm fairly new to vba and I'm currently creating a user form. Is it possible to have the currency symbol permantly in the text box? So far I have it so when the user opens to input it reads "£0.00"...

View Article

Restricting the user form to adding to excel sheet

Hi One more thing, I have created my user form so that if the fields have not had any data put in them, then a message box pops up when they click the command button saying they have not filled in the...

View Article


If Row has certain word delete the row and also the two rows underneath.

I want a macro that will delete a row and the two rows underneath if the key row contains a certain word. For example: If row 6 contains the word "section" then row 6,7 and 8 is deleted. Or if the word...

View Article

Option Button Code Help, please

I have a group box with 3 labeled option buttons. I naively created the following code, but it doesn't work. What do I need to change, please? Private Sub optListing_Click() Code: 'If Cells(12,...

View Article


[SOLVED] if iserror vlookup in VBA code

Hi, Can somebody help me with getting this formula into VBA? Thanks for your help....

View Article

Changing the name of a Defined List in Name Manager using VBA?

So I have: Code: Sub DefineCableType()     ActiveWorkbook.Names.Add Name:="Size_" & "CELL NAME", RefersToR1C1:="=offset(R2C" & ActiveCell.Column & ",0,0,COUNTA(R2C" & ActiveCell.Column...

View Article

Macro for extracting data into a master excel file.

Hi I've search around a bit for hint on creating such a macro but no luck =( So I have an excel file that we add new data each day to that file. in column K, it has a date So what I'm trying to do is...

View Article
Browsing all 50085 articles
Browse latest View live