+ Reply to Thread
Results 1 to 3 of 3

Can a macro for multiple worksheets enter a password for protected sheets

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    66

    Can a macro for multiple worksheets enter a password for protected sheets

    I need the following macro to unprotect a sheet with a password and then lock it back with the same password

    Please Login or Register  to view this content.

    I tried to add this around but it didn't work
    Please Login or Register  to view this content.
    Last edited by missmea2005; 09-18-2012 at 08:13 AM.

  2. #2
    Administrator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,147

    Re: Can a macro for multiple worksheets enter a password for protected sheets

    Try this
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    08-27-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Can a macro for multiple worksheets enter a password for protected sheets

    THANKS!!!!!!!!!!!!!! Worked like a charm

+ 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