Your file works just fine, i just wanted to have 2 buttons ( but one button works as well )
I looked that the link and post 13, but could not figure out how to fix my problem
Unfortunately i could not fix my code to work, i attached a file.
So i wanted to modify your code and add my pictures, i use a file "RibbonEditor.xlam" to add the custom ribbon, and i could not find any buttons that you added in your workbook.
Are you using any other program ?
I can't use a program since work group policy does not allow to install programs, that's why i use the file.
Could you maybe take a look at my file ? Maybe you know how to fix it.
The system works: Lock and Unlock the sheets by pressing one button the other one deactivates, and i get the correct state for the sheet on workbook open
I just want the button state to change if i change to a protected or unprotect sheet.