Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code to fill range based on the first cell in that
range. However, I add and remove colums frequentley, this causes me to constantley change the column references in the below code. How can the code follow the column changes. I can only think that I would have to search the header row (2) for the specific text in that header to identify the column for the code. Not sure at all about how to go about this. Please help. Thanks! lastRow = Range("AD65536").End(xlUp).Row Range("A3").AutoFill Destination:=Range("A3:A" & lastRow) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
find column letter | Excel Discussion (Misc queries) | |||
Column Header - Convert a Number to a letter | Excel Discussion (Misc queries) | |||
Column Header is not in Letter | Excel Discussion (Misc queries) | |||
How to find a row since I found a value in a column? see example | Excel Worksheet Functions | |||
column header changed from letter to number, how return to letter | Excel Discussion (Misc queries) |