I have a workbook with the following code. Is there a way to add to it to skip if the protection is not set on the worksheet? Currently if it isn't locked it will lock it when opened.
![]()
Please Login or Register to view this content.
I have a workbook with the following code. Is there a way to add to it to skip if the protection is not set on the worksheet? Currently if it isn't locked it will lock it when opened.
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thank you for your assistance.
If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks