+ Reply to Thread
Results 1 to 2 of 2

Run Macros when work book is protected and sheets are protected and hidden

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Run Macros when work book is protected and sheets are protected and hidden

    I have a set of macros that have to un against hidden and protected sheets. At the same time, i need to protect the structure and windows of the workbook.

    How can i run a macro while not unprotecting the code or running into hidden sheets issues...? Please help, I'm sweating on this one...

  2. #2
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667
    At the beginning of thhe macro, write code to unprotect the sheet and at the end of the macro reinstate the protection. Since this will usually execute in a fraction of a second there should be no problem!
    Best regards,

    Ray

+ 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