View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Trevor Shuttleworth Trevor Shuttleworth is offline
external usenet poster
 
Posts: 1,089
Default how do i program a vb script in excel to tell me which cell has f.

Msgbox Activecell.Address

Regards

Trevor


"ragnarok" wrote in message
...
I need to write a VB script in excel that tells me which cell has focus.
Here's what I want to happen: I want to click on a cell, then push a
pushbutton that will copy the contents of the cell to another worksheet.

I can copy just fine, I just don't know how to determine which cell to
copy.