troubleshooting Question

Macro to Lock and Unlock a Worksheet ONLY

Avatar of Bright01
Bright01Flag for United States of America asked on
Microsoft ExcelMicrosoft Office
12 Comments3 Solutions242 ViewsLast Modified:
EE Pros,

What would the code look like to select a Lock and Unlock capability in a single Worksheet?  Here's the tricky part.  How do you switch icons to represent the condition or status (Locked or Unlocked) on the sheet?
The icon should change when selected.

Thank you in advance!

B.
Lock.jpg
Unlock.jpg
ASKER CERTIFIED SOLUTION
Mike in IT
IT System Administrator
Join our community to see this answer!
Unlock 3 Answers and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros