ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Need Row Address (https://www.excelbanter.com/excel-programming/273733-re-need-row-address.html)

Ron de Bruin

Need Row Address
 
Do you mean this Steve

Sub test()
Dim RW As Long
RW = ActiveCell.Row

MsgBox RW
End Sub


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



"Steve R" wrote in message ...
I need to store the row number in a variable.
Does anyone know how to capture just the row number (where
my cursor resides) in an Excel spreadsheet.





All times are GMT +1. The time now is 01:29 PM.

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