I have a custom ribbon I've built in excel using the custom UI editor. I would like to add the standard toggle button to protect the sheet to this custom ribbon. Of course I can just create a button that looks like the protect sheet button with a protect sheet sub behind it but it doesn't toggle between protect and unprotect.
Is is possible to add the standard toggle to the custom ribbon using xml? If so, how?
If it is possible, is it possible to protect the sheet using that button without having the extra box to pop up asking what type of protection to do (edit or select protected cells for example)?