I have different size files that have data on every other row. I need to
locate the last row that has data in it. I would like to start at the top
(B1) of column B and be able to use a shortcut or macro to immeadiately go to
the last cell that has data in column B. any ideas?
Thanks in advance

Signature
inthestands
Sune Fibaek - 30 Oct 2006 21:44 GMT
> I have different size files that have data on every other row. I need to
> locate the last row that has data in it. I would like to start at the top
> (B1) of column B and be able to use a shortcut or macro to immeadiately go to
> the last cell that has data in column B. any ideas?
Ctrl + end seems to do the trick (at least in my Danish Excel).
/Sune
Gord Dibben - 30 Oct 2006 21:50 GMT
Sub findbottom()
ActiveSheet.Cells(Rows.Count, 2).End(xlUp).Select
End Sub
Gord Dibben MS Excel MVP
> I have different size files that have data on every other row. I need to
>locate the last row that has data in it. I would like to start at the top
>(B1) of column B and be able to use a shortcut or macro to immeadiately go to
>the last cell that has data in column B. any ideas?
>
>Thanks in advance