+ Reply to Thread
Results 1 to 4 of 4

Protect worksheet that contains Macros

  1. #1
    Registered User
    Join Date
    11-22-2010
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    36

    Protect worksheet that contains Macros

    Hi everyone.
    Please can someone help I have a worksheet that contains some macros
    when i locked and hide formulas with a password and when i work with the worksheet
    i cannot run the macros i got message debug... end... etc

  2. #2
    Forum Contributor
    Join Date
    01-24-2011
    Location
    Sheppey
    MS-Off Ver
    Excel 2010
    Posts
    239

    Re: Protect worksheet that contains Macros

    You will need to unlock the sheet at the front of the macro and then reprotect it at the end.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Protect worksheet that contains Macros

    You can protect with UserInterface, see example here, or as Barry suggests
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Protect worksheet that contains Macros

    hanks for the rep

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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