+ Reply to Thread
Results 1 to 3 of 3

Allowing Marcos To Run in a Protected Sheet

  1. #1
    Registered User
    Join Date
    09-16-2013
    Location
    Austin, Texas, USA
    MS-Off Ver
    Excel 2007 Home
    Posts
    17

    Question Allowing Marcos To Run in a Protected Sheet

    How do I allow macros to run when users click check boxes without making it possible for them to change the formulas in certain cells? Even with the Unprotect method as the first line in the subroutine, the sub does not get accessed at all as long as the sheet is protected. The check boxes themselves are unlocked, and I have also tried unlocking the cells where the check boxes reside.

  2. #2
    Registered User
    Join Date
    10-20-2014
    Location
    Ahmedabad, Gujarat, INDIA
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: Allowing Marcos To Run in a Protected Sheet

    You could do this by having a userform appear when the sheet gets activated - Additionally, on your worksheet that is protected, unprotect the cells that need to have data input allowed in them. Technically, the check boxes will not be enabled if the underlying cells are protected. Suggestion would be to arrange all the check boxes on a range of unprotected cells and then have the appropriate code run according to the selection made.

    CA Vikram S Mathur

  3. #3
    Registered User
    Join Date
    04-09-2015
    Location
    Prescott, AZ
    MS-Off Ver
    2010
    Posts
    4

    Re: Allowing Marcos To Run in a Protected Sheet

    I found this little nugget here in this forum that works without specifying details for each work sheet. Copy the following code into your Workbook page with "Workbook" and "Open" listed in your drop down tabs in VBA. Sorry that I cannot remember to whom the credit goes.

    Please Login or Register  to view this content.
    K Rose

+ 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. allowing group/ungroup function in protected sheet
    By Elainefish in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-13-2023, 02:05 PM
  2. [SOLVED] outline macro not allowing filtering on a protected sheet
    By djhurayt in forum Excel General
    Replies: 1
    Last Post: 05-05-2014, 09:24 AM
  3. Replies: 1
    Last Post: 05-15-2013, 01:55 PM
  4. Allowing functions on a protected sheet
    By prince.ali in forum Excel General
    Replies: 2
    Last Post: 11-08-2007, 09:14 AM
  5. Allowing hyperlinks an a protected sheet
    By Chris Ince in forum Excel General
    Replies: 2
    Last Post: 11-07-2005, 04:30 PM

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