Hi
try
LastRow = ActiveSheet.Cells(Rows.Count,
activecell.column).End(xlUp).row
or
ActiveSheet.Cells(Rows.Count, activecell.column).End(xlUp).select
--
Regards
Frank Kabel
Frankfurt, Germany
i have the following problem
I want to use the column's G lastrow and go to the lastrow of the
worksheet("A") activecolumn using a macro
Be more specific
last_row = Worksheets("A").Range("G65536").End(xlUp).Row
Using the last_row i want to go to the last_row of the activecolumn.
So if the last_row =120 and the activecolumn is "B" i want to go to
the cell 'B120'
Thanks in advance
Stathis
---
Message posted from http://www.ExcelForum.com/