Welcome toExcel.Tips.Net
Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips
Advertise on the
ExcelTips Site
Assigning a Macro to a Keyboard Combination
Hiding Rows Based on a Cell Value
Dave has developed a worksheet that uses yes/no check boxes, combined with a true/false statement to update another cell. He wants to protect the worksheet, but still be able to update the check boxes, but this doesn't seem to be possible. When he protects the worksheet, the check boxes cannot be changed.
The thing to remember in working with check boxes (from the Forms toolbar) is that there are two things you need to explicitly unprotect: the check box itself and the cell to which the check box is linked. To unprotect the check box, right-click on it and choose Format Control. Excel displays the Format Control dialog box. On the Protection tab (Click here to see a related figure.) , make sure the Locked check box is cleared.
Check boxes are also linked to specific cells in a worksheet. (See the Control tab of the Format Control dialog box.) To unprotect the cell to which the check box is linked, select the cell and choose Cells from the Format menu. Excel displays the Format Cells dialog box. On the Protection tab (Click here to see a related figure.) , make sure the Locked check box is cleared.
Now you can protect your workbook as you normally would, and the check boxes should work. The reason that you need to unprotect the cell to which the check box is linked is because the contents of the cell need to be able to change as the status of the check box is modified. If the cell is not unprotected, then the contents cannot change and so the check box cannot change.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3078) applies to Microsoft Excel versions: 97 2000 2002 2003
Organize Your Data! Using the powerful sorting capabilities of Excel can help you get your data into just the order you need. Find out how you can use the full capabilities of sorting to your benefit.