A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You could check the username in the code run by the button. Or ask for a password.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
On a worksheet, it is possible to give certain users permission to edit a range even when the cells are locked and the sheet is protected (Review - Changes - Allow users to Edit Ranges).
Can a command button on a worksheet be set up in a similar way?
If not, how would I restrict who can press the button and therefore not have the associated code run?
Thanks.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
You could check the username in the code run by the button. Or ask for a password.