+ Reply to Thread
Results 1 to 2 of 2

macro protection

  1. #1
    Registered User
    Join Date
    12-08-2005
    Posts
    84

    macro protection

    Hi boys and girls

    A simple problem. I have a macro that works fine. However i need to add some code at top and bottom to allow me to protect the sheet.

    I tried;

    activesheet.protect

    but i need the code to automatically enter the password on unprotection and then again on protection.

    Anyone know how to do this?????

    Cheers

    James

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: macro protection

    Help for the Protect Method will tell you everything you need to know.

    Or in your code, put the cursor on Protect and hit F1.
    Entia non sunt multiplicanda sine necessitate

+ 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