Sorry POE333 but you have missed the point made by Aflatoon.
Option Explicit
Public WB1 As Workbook
Public SH1 as WorkSheet
Public WH2 as Worksheet
Technically you could also use the word "Global" in place of "Public", but that is simply a matter of individual preference. You should "dim" your variables within the procedure not within the Global statements.
Sub SelectPages()
Set WB1 = ThisWorkbook
Set SH1 = WB1.Worksheets("Sheet1")
Set SH2 = WB1.Worksheets("Sheet2")
SH1.Select
SH2.Select
End Sub
Rather than SH1.select or SH2.select use
With SH1
'do something
End With
do I even need the "(WB1, SH1, SH2)" on the OtherPages?
No, its un-necessary to do so.