Would the following macro help you?
Sub activateSheet(sheetname As String) 'activates sheet of specific name Worksheets(sheetname).Activate End Sub
Basically you want to use the .Activate function. Or you can use the .Select function as follows:
Sub activateSheet(sheetname As String) 'selects sheet of specific name Sheets(sheetname).Select End Sub
Dennis G Oct. 25 '10 at 11:08 2010-10-25 11:08
source share