+ Reply to Thread
Results 1 to 4 of 4

VB protect & unprotect worksheet with password

  1. #1
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    VB protect & unprotect worksheet with password

    Need someone's help

    I'm trying to unlock a worksheet that has been protected with a password. I used xyz as my password example

    So far I have used the following 3, but none of these will work


    Please Login or Register  to view this content.
    sure could use some help. I used this many years ago, but I've forgot how to do it.
    Thanks for helping . . .
    Matt @ Launchnet

  2. #2
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi,

    You're close!

    Just a slight tweak to your syntax should do it, try either of the following for unprotecting a specific worksheet:
    Please Login or Register  to view this content.
    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  3. #3
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Thanks for the help

    Many thanks. It's been a good number of years since I used this and VB Help wasn't any help.

  4. #4
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    thanks for the feedback - I'm pleased I could help

    Rob

+ 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