+ Reply to Thread
Results 1 to 4 of 4

Protected Worksheet bug with combo boxes

  1. #1
    Registered User
    Join Date
    07-24-2008
    Location
    NY
    Posts
    2

    Protected Worksheet bug with combo boxes

    I designed a calculator for a client and protected the sheet so that employees could use certain cells in the sheet but could not see or access the cells containing the calculations and formulas. On the calculator I placed a couple of combo boxes containing valid choices that the employee can choose from. When I protect the sheet, the combo boxes will not let the user choose a value - the error that comes up:

    "The cell or chart that you are trying to change is protected and therefore read-only. To modify a protected cell or chart, first remove protection using the Unprotect Sheet command (Review tab, Changes group). You may be prompted for a password."

    When I right click the control and look at the Protection tab in Format Control, the 'locked' check box is not checked.

    Also, when I go to protect the sheet, I've actually clicked on every checkbox to give the user way more functionality that I intend (for testing purposes) and I still get the error.

    Is this a bug - is there a fix or workaround?

  2. #2
    Forum Contributor
    Join Date
    06-14-2008
    Posts
    153
    Hi,
    1. If you have a macro then the first thing you need to do is to put this code in Workbook_Open event:
    Please Login or Register  to view this content.
    This will allow the macro to update the worksheet but not the user.

    2. If you are using the LinkedCell property in the combobox to link to a cell in the worksheet, then this cell should not be protected.

    I have a calendar template in my website which uses 3 comboboxes while the sheet is protected.
    You can download the workbook and see how it works. You can protect and unprotect the worksheets freely. No password. Here is the link:

    http://www.exceldigest.com/myblog/downloads/

    Regards.
    Welcome to: http://www.exceldigest.com/myblog/
    "Excel help for the rest of us"

  3. #3
    Registered User
    Join Date
    07-24-2008
    Location
    NY
    Posts
    2

    that did it.

    your second item did the trick thanks!

  4. #4
    Registered User
    Join Date
    02-28-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Protected Worksheet bug with combo boxes

    Exactly the solution I was looking for too, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1