+ Reply to Thread
Results 1 to 5 of 5

Sheet Protection

  1. #1
    Registered User
    Join Date
    06-15-2010
    Location
    Kansas
    MS-Off Ver
    Excel 2003
    Posts
    60

    Sheet Protection

    I have a macro that unprotects and re protects the sheet. But i want to have a password on the sheet. as well. What is the syntax or line of code for entering the password and putting it back on?
    Last edited by Hlowmaster; 07-15-2010 at 02:12 PM.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Sheet Protection

    Please Login or Register  to view this content.
    Obviously, change the 1234 to the password

  3. #3
    Registered User
    Join Date
    06-15-2010
    Location
    Kansas
    MS-Off Ver
    Excel 2003
    Posts
    60

    Re: Sheet Protection

    that works to unprotect it with the password but what about reprotecting it after the macro is finished? like this in example
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Sheet Protection

    Try this:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-15-2010
    Location
    Kansas
    MS-Off Ver
    Excel 2003
    Posts
    60

    Re: Sheet Protection

    I see.. Thanks bud i appreciate it

+ 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