Data Entry Dilemma

Kevin0427

Board Regular
Joined
Mar 31, 2016
Messages
69
I have two columns that the user needs to update. One column is a checkbox (actually a wingding font) and the other is a cell with free data.

I want them to be able to double click on the checkbox cell but not enter any data.
I want them to be able to click on free data cell and enter data.

I have the double click event working and it even works if the cell can't be selected because of sheet protection which is perfect.

My issue is I want the free cell to be able to be selected and changed but because the sheet protection does not allow selection this cell can not be selected and changed.

Ideas on how this can be accomplished? The protect sheet function seems to override the command before to set locked = false and if I reverse it and do a locked =true after the protection of course I get an error. Can I use userinterfaceonly somehow here to solve it?


EDIT:
I thought I could use a before update event but that does not seem to be available on the sheet level.
 
Last edited by a moderator:

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I have two columns that the user needs to update. One column is a checkbox (actually a wingding font) and the other is a cell with free data.

I want them to be able to double click on the checkbox cell but not enter any data.
I want them to be able to click on free data cell and enter data.

I have the double click event working and it even works if the cell can't be selected because of sheet protection which is perfect.

My issue is I want the free cell to be able to be selected and changed but because the sheet protection does not allow selection this cell can not be selected and changed.

Ideas on how this can be accomplished? The protect sheet function seems to override the command before to set locked = false and if I reverse it and do a locked =true after the protection of course I get an error. Can I use userinterfaceonly somehow here to solve it?


EDIT:
I thought I could use a before update event but that does not seem to be available on the sheet level.

I think I solved it. I added cancel if checkbox column is changed and a message box for instructions.
 
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,658
Latest member
GStorm

We've detected that you are using an adblocker.

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.
Go back
Back
Top