5 Comments Add yours

  1. Tamer says:

    Couldn’t one use a snippet like the one below?

    If ws.Name ‘sheet not to be deleted’ Then
    Kill ws
    End If

    1. Tamer says:

      If ws.Name ‘sheet not to be deleted’ Then
      Kill ws
      End If

      A not equal to comparator was left out b/w ws.Name and “sheet…

  2. Hi Tamer,
    can use a loop with your code.. but the challenge was to delete them without loop, kris has replied very smartly, you can also visit the link below :

    http://www.excelfox.com/forum/f13/delete-worksheets-without-loop-515/#post2056

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.