Hi,
a = ActiveCell.Row
This is a discussion on Return row number of active cell within the Excel Questions forums, part of the Question Forums category; Could anyone help me with some vba code to give the row number that the current active cell is on. ...
Could anyone help me with some vba code to give the row number that the current active cell is on.
Many thanks
Roger Marshall
Hi,
a = ActiveCell.Row
"Fair Winds and Following Seas"
Code:Sub RowNum() MsgBox "The active cell row is " & ActiveCell.Row End Sub
Thank you for the lightening fast reply - I had a feeling it was quite simple but I don't quite know enough vba yet to figure it out.
Roger Marshall
Bookmarks