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

Image may be NSFW.
Clik here to view.

Filtering a large range of data to return only row title and cell value

Hi, I have a database of scores that runs for approximately 2000 rows and 600 columns. In column A, I have all the names of each item in the database (in this case it is a stock code). In row 4 I have...

View Article


Multiple Autofilter

Hello All, I'm trying to do autofilter but it does not work: I want to filter 3 criteria blank, less than today, #N/A in column U Code:     ActiveSheet.Range("$B$1:$AO$1").AutoFilter Field:=20,...

View Article


multiple find and replace macro (clased file)

Code: Sub multiFindNReplace()     Dim myList, myRange     Set myList = Sheets("sheet3").Range("A8:B10") 'two column range where find/replace pairs are     Set myRange =...

View Article

Image may be NSFW.
Clik here to view.

Archiving data are updated every minute from the web

Goodnight my problem is this: I have data from the stock exchange in mexico, these data are updated from the web every minute, my problem is that I would like to know how I can go keeping the data that...

View Article

ListBox2 selection must be based on ListBox1 selection

I have 2 List boxes on 2 different user forms. Each list box has the same list of customers. I always use the first list box to view information for a particular customer and then go to the second list...

View Article


Search range of strings with a range of keywords and highlight matches

Hello, this is my first post in the forum. I have searched the forum for anything to help my particular cause and haven't been able to find anything to help. I need to search Column1 and find the...

View Article

Step back not working when this code is in my sheet???

Hello Everyone, I want to use the code below as it does exactly what I want it to do but the problem is that whenever there is a change to the page the undo option does not work (using the undo icon)?...

View Article

If Then Statement in VBA Code

Hello - I would like to program the formula below in VBA code to help automate a process. If I copy the formula as is into VBA it will not work. Any help will be very much appreciated. Kind Regards!...

View Article


[SOLVED] Problem putting variables in ranges.

Hello, I am trying to create a loop that takes data from an array and fills in the range specified with that data. Here is the code I am having an issue with: Code: Range("A" & Cstr(Row1)":E" &...

View Article


Date format on UserForm changes on Spreadsheet

Hello Users need to be able to enter a date into a TextBox on a UserForm in the Format DD-MM-YYYY. This is then converted once entered into the format YYYY-MM-DD and when the SAVE button is selected,...

View Article

Copy spreadsheet and make two easy calculations.

Hi All :) I need a macro that copies the sheet you are on to a new sheet and renames this new sheet chicken. Then on chicken, i need a column to be inserted after column (B) which calcultes...

View Article

VBA to immediately change the colour of a cell depending on the code placed...

Hello, Firstly please let me advise that standard conditional formatting will not work here as this requires ten conditions to be set. I have a worksheet that contains 40 'paired' columns. In the first...

View Article

Hide columns if the cell in the last row = 0

Hi there, I'm looking for a macro that will hide any columns that = 0 in the grand total row. This is not a static row, it moves up and down all the time, and this is where I'm running into problems....

View Article


Every X amount of rows, find and replace XXX

I originally posted for help but I think this may be an easier macro to create... Starting at row 11 and continuing every 18 rows through row 7716: Find and replace the following- EMEDICARE****** TO...

View Article

VBA: Delete row containing text A but skip if contains text A & text B

I have a list of supplier names in column E. There are thousands of records. Some contain only TAXI, while others contain TAXI and LIMO. I want to delete rows containing only TAXI, but leave rows...

View Article


I need to add "Page of Pages" to an EXCEL 2010 Spreadsheet.

I have a spread sheet that averages 40 pages. At any time a page may be added or deleted. I need the page number and number of pages to be added to each page without using Header and Footer. I have...

View Article

Hide columns if the cell in the last row = 0

Tester File.xlsx Hi there, I'm looking for a macro that will hide any columns that = 0 in the grand total row. This is not a static row, it moves up and down all the time, and this is where I'm running...

View Article


Copying data from a form to a cell

Hi this is my first post :cool: Right now i have a vba that copies the data in the fields of a form and saves them on another sheet in a specific order. My issue is that there are some field that need...

View Article

Button Not Sized or Located Properly

In code below - I set the range and then reference the range when sizing and locating the new button. It is not placing it or sizing it properly. Thanks Code: Dim rng As Range     Set rng =...

View Article

Macro to create text file and write contents of selected cells to the file

Hello, I need some help writing the contents of specific cells to a newly created text file that's named with the contents of a cell. (That doesn't sound very clear, does it?) I'll explain. I have a...

View Article
Browsing all 50040 articles
Browse latest View live