+ Reply to Thread
Results 1 to 4 of 4

Assign a password to a macro button?

  1. #1
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Assign a password to a macro button?

    I just need something that does not let a macro be run unless a password is intered. It could be an input box I guess, but do now know how to set it up.

  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
    Like this?
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269
    exactly, thanks

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon caliskier

    Your macro can probably still be seen from the Tools > Macro > Macros dialog box. To get around this make your sub "Private" (just add the word "Prvate" prior to "Sub").

    However, it's far better that you incorporate the code shg gave you into the main module.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ 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