Select the cells you don't want to be locked, right click on them -> format cells -> protection untick Locked
make sure that the ones you do want protected have Locked ticked
when you protect the worksheet, the ones that are unticked will not be protected?
Select the cells you don't want to be locked, right click on them -> format cells -> protection untick Locked
make sure that the ones you do want protected have Locked ticked
when you protect the worksheet, the ones that are unticked will not be protected?
The problem is, I want my entire workbook to be protected. With the difference, that I want cells from A:F to be locked & cells to be unselectable, and cells from H:Q to be locked & selectable. As per default Workbook protection once you set a password and apply settings to the locked cells, I can only achieve half of what I want to do. I want all of this to happen within a macro, as it's going to be a part of something else that its already in place.
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.