mwesterman
New Member
- Joined
- Nov 15, 2005
- Messages
- 2
I need to be able to return the current cell address (row and column) as shown in the "refernce area".
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("C20") = ActiveCell.Address
End Sub
In a particular cell (c20, for instance), I want that cell to always display the address (row and column) of the current cell that I have clicked on. Thus, cell c20 would display whatever location is shown in the upper left hand reference area.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
[C20] = Target.Address
End Sub
Cbrine said:Using code this will work, but I would suggest you use the formula option, if it works, but the code will dynamically update the cell value. The formula won't without a recalculation.