View Single Post
  #1   Report Post  
Pank Mehta
 
Posts: n/a
Default For Each wks In ActiveWorkbook.Worksheets bar a specific one?

I have a macro that selects all worksheets in a book and undertakes
formatting for them.

Is there a way that I can specify in the loop to select all sheets bar a
specific one, which is called MAIN?

If not then I intend to delete the sheet during the execution of a macro,
but I need to get the macro to delete it without giving the user the option
to confirm the delete (i.e. by pass the delete confirmation message).

Any help would be appreciated.

Thanks