Originally Posted by
dahveedoff
...It just copies the names of the worksheets(even the hidden ones) and pastes them in A2 of the Summary sheet and moves downwards.
When I wrote: "have a look on the result after the code ended" - I ment that you shall compare "by eye" what your code was to compare here:
to let you made ammendments after you know what code really compares.
The code you posted now
does something else than described in the first post:
delete any visible worksheet that does not have its name equal to the values on the "Summary" worksheet.
it deletes all visible sheets except Summary, not looking at all into the content of Summary Sheet.
Anyway, I'm glad, it works as you want, and it's probably time to mark thread as SOLVED (if you need instructions how to do it - see forum rules)
Bookmarks