Not sure why the following code will not work.
-----------------------------------------------------
Sub Plant_Tabs ()
WB1 = "GEN.xls"
WB2 = "XFM.xls"
WB3 = "CB.xls"
For i = 1 To 3
Windows("WB" + i).Activate
'more code will be placed here
Next i
End Sub
-----------------------------------------------------
Sub Plant_Tabs ()
WB1 = "GEN.xls"
WB2 = "XFM.xls"
WB3 = "CB.xls"
For i = 1 To 3
Windows("WB" + i).Activate
'more code will be placed here
Next i
End Sub