1. Select all of the cells that need to be unlocked for the data entry person (hold down the CTRL key to select multiple non-contiguous cells).
2. Select Insert > Name > Define from the menu, and give this range a name (i.e. DataEntryCells) and click OK.
3. Create 2 command buttons from the Control Toolbox tool bar.
4. Double-click the button to unlock only the certain cells for the data entry person, and copy the following code to the VBE window (change the password in quotes to your password):
5. Double-click the button to lock all cells, and copy the following code to the VBE window (change the password in quotes to your password):
For each of the two command buttons, you can right-click and select Properties to change the name, etc. Be sure to change the TakeFocusOnClick property to false for both.
HTH
Jason
Edit: looks like I type too slow.
Bookmarks