Return to sheet
Ed, give this a try
Sub GoBackToSheet()
Dim OS As Worksheet
Dim OC As String
Set OS = ActiveSheet
OC = ActiveCell.Address
'Your code here
OS.Select
Range(OC).Activate
End Sub
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
"Ed Davis" wrote in message
...
I have a workbook that has over 90 sheets. After invoking a macro that
changes to other sheets I would like to return to the sheet where the
macro
first started from.
Does anyone know how I can do this?
|