+ Reply to Thread
Results 1 to 2 of 2

How to get Macros to work in a protected workbook

  1. #1
    Registered User
    Join Date
    07-11-2013
    Location
    Columbus, IN
    MS-Off Ver
    Excel 2010
    Posts
    1

    How to get Macros to work in a protected workbook

    Hello, I am very new to Excel and as a matter of fact I did not write the macros in question (which is why I am struggling). I need to protect a worksheet after it is filled out, but I need the macros to work so that when a checkbox is clicked the field turns green. The macros work just fine when the sheet is unprotected but I get an error message anytime the sheet is protected and it will not allow the field to turn green. Detailed instructions or advise would be very helpful!

    Here are the macros for the checkboxes:
    Please Login or Register  to view this content.
    Last edited by arlu1201; 08-08-2013 at 10:17 AM. Reason: Use code tags in future.

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: How to get Macros to work in a protected workbook

    Hi cmicoordination

    If the protection is just to stop accidental changes being made, then you could use the following. However, as it shows tha password, it means that the security is very weak. Perhaps someone can suggest a way of getting round this?

    Please Login or Register  to view this content.
    You will need to (a) change the "password" to another word
    (b) unprotect the sheet before running this.

    Hope this helps

    Regards
    Alastair

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macros stop to work when work sheet is protected. Run time error 1004
    By sellim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 01:14 AM
  2. [SOLVED] Macros do not work when worksheet is protected
    By a_williams in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2012, 02:36 AM
  3. Get macros to work on protected sheet
    By howsitgoing in forum Excel General
    Replies: 4
    Last Post: 01-12-2012, 02:10 PM
  4. Run macros on a protected workbook
    By Kgbpizza in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2010, 02:59 PM
  5. Replies: 1
    Last Post: 09-19-2006, 02:02 AM

Tags for this Thread

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