ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Last cell in column (https://www.excelbanter.com/excel-programming/272998-re-last-cell-column.html)

Ron de Bruin

Last cell in column
 
Try this for column A
MsgBox Range("A" & Rows.Count).End(xlUp).Value

This will select the cell

Sub LastCellInColumn()
Range("A" & Rows.Count).End(xlUp).Select
End Sub


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Apfreight" wrote in message ...
Searching for a command that will show me the LAST value in a column. Not the
largest, but the last. Any help0 greatly appreciated.





All times are GMT +1. The time now is 07:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com