Thread: For Each Next
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett[_4_] Don Guillett[_4_] is offline
external usenet poster
 
Posts: 2,337
Default For Each Next

for each ws in worksheets
if ws.name<"name1" and ws.name<"name2" etc

--
Don Guillett
SalesAid Software

"Greg" wrote in message
...
Hi,

I have 12 sheets and need to run For Each - Next loop only
on 9 of them.
How would I exclude 3 other sheets?

I can't amend sheet names ( or sheet code names).


TIA,

Greg