Written by Allen Wyatt (last updated August 1, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003
Kathy wrote to say she was having problems with a calendar she developed in Excel. It seems that when she protects her worksheet, she cannot change the selection in a combo box on the calendar.
The solution to this is relatively simple, provided you remember that every control you add to a worksheet (such as a combo box) is associated with a cell in the worksheet. Normally, when you select a value in the combo box, the change is reflected in the cell with which the combo box is associated. Thus, selecting "8" in the combo box would result in the associated cell's value being changed to 8. Likewise, if you change the cell value, the value displayed in the combo box also changes.
When you protect a worksheet, you prevent changes to any cells except those that you specify as "changeable." If Excel cannot make changes to the cell associated with a combo box (because that cell is protected), then it won't allow changes to the combo box. The solution is to make sure the cell associated with the combo box is not protected. Follow these steps:
Figure 1. The Protection tab of the Format Cells dialog box.
The combo box control should now work as desired.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2691) applies to Microsoft Excel 97, 2000, 2002, and 2003.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Want to protect a worksheet but maintain the ability to make changes to the check boxes you add to the worksheet? Here is ...
Discover MoreYou've protected and saved your worksheet with explicit instructions that you be allowed to insert and delete rows. But ...
Discover MoreIf you have a worksheet protected, it may not be immediately evident that it really is protected. This tip explains some ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments