Previously I had been shown a trick to delete all unprotected cells in my workbook.
The problem is, I want to to skip over a certain sheet, can I skip over a certain sheet with For Each loops?
![]()
Please Login or Register to view this content.
Previously I had been shown a trick to delete all unprotected cells in my workbook.
The problem is, I want to to skip over a certain sheet, can I skip over a certain sheet with For Each loops?
![]()
Please Login or Register to view this content.
Maybe:
![]()
Please Login or Register to view this content.
Hello NicholasL,
![]()
Please Login or Register to view this content.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
Hi,
Yes, just add an additional IF test
Note. Use the VBA sheet code name rather than the sheet tab name in case someone should change the tab name.![]()
Please Login or Register to view this content.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Oh, good call!
Thanks, worked great!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks