Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() cLastRow = Cells(Rows.Count,"A").End(xlUp).Row you can then use that in a Range statements, like Range("A" & cLAstRow) or something similar -- HTH RP (remove nothere from the email address if mailing direct) "Nancy C" wrote in message ... I want to create a macro that looks for the last ROW of data (which will always vary) and allows me to copy and paste columns of real data between spreadsheets. When I RECORD a macro to study the code, it always gives me an absolute cell reference. How can I modify that macro to point to the relative end of data? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
The Relative Macro | Excel Discussion (Misc queries) | |||
relative value in macro | Excel Discussion (Misc queries) | |||
Relative Reference in a Macro | Excel Programming | |||
MACRO Relative Reference | Excel Programming | |||
relative ref. macro | Excel Programming |