Hi all,
How can I get the row and column index for an active cell, and store it as a variable?
regards
bala
Hi all,
How can I get the row and column index for an active cell, and store it as a variable?
regards
bala
Good afternoon Bala
This code should do the trick:
Sub Example()
usrcell = ActiveWindow.RangeSelection.Address
a = Range(usrcell).Row
b = Range(usrcell).Column
MsgBox "Row : " & a & Chr(13) & "Column : " & b
End Sub
HTH
DominicB
Many thanks Mr dominic
It works
Hi Bala
Certainly does. Appreciate the feedback.
DominicB
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks