usually you would do something like this:
it will put in your Sheet1 cell A1 the value of the last row in column A.![]()
Sheets("Sheet1").Range("A1")=Cells(Rows.Count,1).End(XlUp)
usually you would do something like this:
it will put in your Sheet1 cell A1 the value of the last row in column A.![]()
Sheets("Sheet1").Range("A1")=Cells(Rows.Count,1).End(XlUp)
Pierre Leclerc
_______________________________________________________
If you like the help you got,
Click on the STAR "Add reputation" icon at the bottom.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks