Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
OK, here's another "is it possible" question.
I have a protected worksheet set that only unlocked cells can be selected.
With that worksheet, the majority of cells are locked (to prevent the user from clicking all over the place). A few cells and ranges are unlocked. The user is encouraged, and expected to click on these cells.
For the most part, I do not want the user to edit the contents of the unlocked cells (which would suggest I need them locked), however, I want to execute a macro when the user clicks ? double clicks on that unlocked cell.
I haven't tried it yet, maybe the mouseclick (?) event will trigger before allowing the cell to enter editing mode. But if not, is what I want to do doable? ie keep a cell selectable for clicking with the mouse yet preventing the contents from being edited?
I have a protected worksheet set that only unlocked cells can be selected.
With that worksheet, the majority of cells are locked (to prevent the user from clicking all over the place). A few cells and ranges are unlocked. The user is encouraged, and expected to click on these cells.
For the most part, I do not want the user to edit the contents of the unlocked cells (which would suggest I need them locked), however, I want to execute a macro when the user clicks ? double clicks on that unlocked cell.
I haven't tried it yet, maybe the mouseclick (?) event will trigger before allowing the cell to enter editing mode. But if not, is what I want to do doable? ie keep a cell selectable for clicking with the mouse yet preventing the contents from being edited?