Excelquestion35
Board Regular
- Joined
- Nov 29, 2021
- Messages
- 53
- Office Version
- 2016
- Platform
- Windows
Hello,
For a project I require to protect some of the cells in my document, however it is not working as the way it should be.
I protect the sheet by selecting the cells that I want to lock and then protect the sheet in the following way.
My sheet has some macro buttons that require code to unlock the sheet before it runs the code and later protects the sheet with a password.
That code I put inside all macro buttons that I have.
Yet, as soon as I use one of the macro buttons I am not able to use the filter buttons to filter on the columns for instance. (On those columns I did not specifically put a protection and even allowed to use autofilter).
Adjusting any cell values is possible.
My only goal is to prevent people from adjusting certain cells, but other than that the document should be able to be used freely.
What am I doing wrong in order to get the result I want?
For a project I require to protect some of the cells in my document, however it is not working as the way it should be.
I protect the sheet by selecting the cells that I want to lock and then protect the sheet in the following way.
My sheet has some macro buttons that require code to unlock the sheet before it runs the code and later protects the sheet with a password.
That code I put inside all macro buttons that I have.
Yet, as soon as I use one of the macro buttons I am not able to use the filter buttons to filter on the columns for instance. (On those columns I did not specifically put a protection and even allowed to use autofilter).
Adjusting any cell values is possible.
My only goal is to prevent people from adjusting certain cells, but other than that the document should be able to be used freely.
What am I doing wrong in order to get the result I want?