CampingCarl101
New Member
- Joined
- Apr 28, 2022
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hello,
I have an excel file that has data in a non-table format that I'd like to let users have the ability to select the cell but not be able to change or delete the contents. I've selected "locked" for these cells and protected the sheet. This works in preventing any change or deletion, but the cells can't be selected. Our users would like the ability to select these cells to see the average or sum of multiple locked cells. I've tried preventing edits with data validation, but it doesn't stop the deletion of the cells.
Open to suggestions on how to make this work. My thought: Is there a way in VBA to prevent any cell that is locked to be edited or deleted? Without having to actually protect the sheet?
Thank you!
I have an excel file that has data in a non-table format that I'd like to let users have the ability to select the cell but not be able to change or delete the contents. I've selected "locked" for these cells and protected the sheet. This works in preventing any change or deletion, but the cells can't be selected. Our users would like the ability to select these cells to see the average or sum of multiple locked cells. I've tried preventing edits with data validation, but it doesn't stop the deletion of the cells.
Open to suggestions on how to make this work. My thought: Is there a way in VBA to prevent any cell that is locked to be edited or deleted? Without having to actually protect the sheet?
Thank you!