Here is a subroutine that you can call from your own macro or function that will select all the worksheets not listed as an argument...
Sub SelectSheetsExceptFor(ParamArray ExcludedSheets())
Dim WS As Worksheet, ValidSheetActivated As Boolean
For Each WS In Worksheets
If UBound(Filter(ExcludedSheets, WS.Name, , vbTextCompare)) < 0 Then
WS.Select Not ValidSheetActivated
If Not ValidSheetActivated Then ValidSheetActivated = True
End If
Next
End Sub
To use this subroutine, just call it from your own code and list the worksheet names you do not want to select as its arguments. For example, let's say you wanted to select all the worksheets except for Sheet2, Sheet4 and Sheet6; just execute this line of
code within your own macro or function...
SelectSheetsExceptFor "Sheet2", "Sheet4", "Sheet6"
You should install the above subroutine in a standard Module.
NOTE: Please mark the message or messages (yes, you can mark more than one) that answer your question as the "Answer" so that others will know your question has been resolved.