Find active cell
Thomas, It lloks as if you are lloking for : ActiveCell.Address
This will return $H$7 if the cursor is on cell H7.
--
Regards,
Auk Ales
* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *
"Thomas" wrote in message
...
New to Excel VBA. The following does not return the current active cell
but returns error 91.
Sub Macro1()
'
' Macro1 Macro
'
Dim rangeCurrentCell As Range
'
rangeCurrentCell = ActiveCell
'more stuff
The defn. of ActiveCell is confusing me. All I want is the currently
selected in A1 type format.
Thanks.
Thomas
|