Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Functioning Check Boxes in a Protected Worksheet.

Functioning Check Boxes in a Protected Worksheet

by Allen Wyatt
(last updated July 7, 2016)

8

Dave 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 Controls group on the Developer tab of the ribbon) 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, 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 or, if you are using ActiveX controls, the LinkedCell property.) To unprotect the cell to which the check box is linked, select the cell and press Ctrl+Shift+F to display the Format Cells dialog box. On the Protection tab, 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 needs 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 (8112) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Functioning Check Boxes in a Protected Worksheet.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Accepting Only a Single Digit

Want a quick way to enter a series of single digits into consecutive cells? The best approach is with a macro, and this tip ...

Discover More

Sequentially Inputting Information

When entering data in a worksheet, you may only want to add information to the cells in a particular range. You can easily do ...

Discover More

Incrementing Numeric Portions of Serial Numbers

If you use serial numbers that include both letters and numbers, you might wonder how you can increment the numeric portion ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Limiting Input by Time of Day

Excel provides some great tools that allow you to limit what is entered into a worksheet. This tip looks at how those tools ...

Discover More

Enabling Editing Erases Worksheet

If you receive a protected worksheet that you want to edit, how do you proceed if you try to unprotect the worksheet and ...

Discover More

Protecting Many Worksheets

Need to protect a lot of worksheets? Rather than protect the sheets individually, you'll appreciate the macros discussed in ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five less than 5?

2015-12-17 19:06:20

Tom

Thank you, this was a great help.


2015-06-11 14:09:22

DB$HB

I want the opposite of this...I want the entire sheet protected and not editable included the check boxes but it's not working! How do I do that? I don't want anything changed on the doc.


2015-06-04 03:10:04

Avinash

Yes thanks for the post. I was looking many articles and found solution on this one. I had protected sheet, Protected cell ranges (colum) but the activ x boxes linked to these cell were not editable.
Now I made them using "To unprotect the cell to which the check box is linked, select the cell and press Ctrl+Shift+F to display the Format Cells dialog box. On the Protection tab, make sure the Locked check box is cleared."


2015-01-06 18:25:17

Peter Atherton

@Nathan

to "Sort" correctly staying ..

As mentioned in Allen's article, checkboxes are linked to a cell - not the cells data. I would consider using a column of text.
The letters a & r produce a tick and an x respectively when formatted with the Webdings font. As this is data there's not problem sorting.


2015-01-04 10:01:50

Nathan

Looking to Utilize Checkboxes (Written By VBS Code) within a "Filtered" spreadsheet. The Checkboxes (checked or unchecked) need to "Sort" correctly staying with the correct row of information that it is connected with. Unfortunately I have been unsuccessful getting the actual checked or unchecked box to follow correctly when utilizing the "Filter Drop Down" on any of the vertical columns. Generally I sort by "DATE" which is a vertical column within the spreadsheet.

Would really like some direction here if this is possible. Please let me know if you need greater clarification.

Thank you - Nathan


2014-09-10 13:37:05

BillH

I agree that you need to Unlock the linked cell where changes take place but the checkbox, itself, does not need to be Unlocked. I also make the linked cell <Hidden> to minimize what others can see since the linked cell can't be locked in a Protected Worksheet.


2014-06-18 17:20:28

Irving

Great Solution!!! It was very useful!


2013-12-13 11:14:38

T.O.

Thank you for this! I needed to know that the cell linked to my option boxes needed to be unprotected..this is the first search I found telling me that. Thank you!


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.