TTom
Well-known Member
- Joined
- Jan 19, 2005
- Messages
- 518
I need to rember an active cell so I can get to it later.
Below is a test marco that needs some help. Thanks,
TTom
****
Sub RememberActive()
Dim r As Integer, c As Integer
Sheets("MySheet").Activate
Range("B4").Select
'Since "B4" is the active cell record the it's row and column
'as r and c. thus r=4 and c=2. This will be used later to
'return to via: Cells(r,c).Select I will know the sheet name.
End Sub
****
Below is a test marco that needs some help. Thanks,
TTom
****
Sub RememberActive()
Dim r As Integer, c As Integer
Sheets("MySheet").Activate
Range("B4").Select
'Since "B4" is the active cell record the it's row and column
'as r and c. thus r=4 and c=2. This will be used later to
'return to via: Cells(r,c).Select I will know the sheet name.
End Sub
****