Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Ryan Anderson   on Aug 11 In MS Office Category.

  
Question Answered By: Angelica Ramos   on Aug 11

Rather than looking for Sheet1 or Sample, look for everything else...

Dim wSht As Worksheet
For Each wSht In Worksheets
If wSht.Name <> "Sheet1" and wSht.Name <> "Sample" Then
-'Code for rest  of sheets
End if
Next

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on For Each (If Next) Next Or get search suggestion and latest updates.


Tagged: