View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary Keramidas Gary Keramidas is offline
external usenet poster
 
Posts: 2,494
Default Macro that shows a cell address when pressing the down or up key

put this on the sheet code page

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
MsgBox ActiveCell.Address
End Sub

--


Gary


"cyberdude" wrote in message
oups.com...
Hi,

I would like to write a macro that popps up a message box showing the
current cell address when I press the down or up key to move down or up
a column. Do you have any idea about how to make this? Or would you
show me your code doing it? Thank you in advance.

David