For Each Loop with Exceptions
I have a For Each Loop that loops through my sheets and
performs certain actions. Is is possible to set the
routine up so that I can exclude certain sheets from the
loop. That is, if I pass the excluded sheets to a
variable or array, can this variable or array be used in
conjuction with the For Each Loop?
For Each sh in Workbook
Logic here that bypasses certain sheets
Next
|