Ignore a sheet

  • Thread starter Thread starter cottage6
  • Start date Start date
C

cottage6

Hi,
If you use "For each wks in ActiveWorkbook. Worksheets", is there a way to
leave out a sheet, for example the Summary Sheet? Or do I need to figure out
another way? Thanks!
 
Check the sheet name of wks each time before ding any processing on it:

For Each wks In ActiveWorkbook.Worksheets
If wks.Name <> "Summary" Then
'do something
End If
Next wks

Hope this helps,

Hutch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top