+ Reply to Thread
Results 1 to 2 of 2

worksheet unprotect

  1. #1
    Registered User
    Join Date
    05-24-2007
    Location
    Canada & France
    MS-Off Ver
    2007
    Posts
    40

    worksheet unprotect

    These two statements seem to me to be per the documention but the unprotect doesn't work. I get a message saying incorrect password (but it is correct)

    ActiveSheet.Unprotect Password = "chien"

    ActiveSheet.Protect Password = "chien", DrawingObjects:=True, Contents:=True, Scenarios:=True

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,166

    Re: worksheet unprotect

    Administrative Note:

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. cant unprotect a shared worksheet
    By busybeemg in forum Excel General
    Replies: 1
    Last Post: 06-10-2010, 02:59 PM
  2. Unprotect Worksheet
    By bcdcop in forum Excel General
    Replies: 1
    Last Post: 05-12-2010, 11:10 AM
  3. Unprotect worksheet
    By ramserp in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-09-2009, 05:56 AM
  4. unprotect worksheet
    By keith6292 in forum Excel General
    Replies: 2
    Last Post: 12-06-2009, 12:42 PM
  5. [SOLVED] Unprotect Worksheet.
    By xoom3 in forum Excel General
    Replies: 4
    Last Post: 07-14-2006, 05:05 PM
  6. [SOLVED] RE: Unprotect a worksheet
    By FRAZZLED in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 05-30-2006, 12:10 PM
  7. [SOLVED] Unprotect a worksheet
    By Bryan in forum Excel General
    Replies: 11
    Last Post: 04-13-2006, 09:45 PM
  8. [SOLVED] Unprotect worksheet via VBA
    By Mike Echo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2006, 02:20 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