+ Reply to Thread
Results 1 to 3 of 3

Disable Alt F8 functionality

  1. #1
    Registered User
    Join Date
    01-27-2008
    Location
    Dorset, UK
    Posts
    63

    Disable Alt F8 functionality

    Hi,

    I have a file where I have password protected the VBA code. One of the macros within the file unprotects the sheets in the file which are all password protected.

    However, if a user uses Alt F8 they can see and run the unprotect macro. I am looking for a solution to this issue but can only come up with renaming the macro to something obscure so no user will know what the macro does.

    Is there a more sophisticated solution to this issue?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,758

    Re: Disable Alt F8 functionality

    How do you invoke the existing macro normally? Is it invoked from a different module where it is written? If not, declare it as Private instead of Public, and it will not be visible in the list of macros when you hit Alt-F8.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    01-27-2008
    Location
    Dorset, UK
    Posts
    63

    Re: Disable Alt F8 functionality

    Brilliant!!! Many thanks, the perfect solution.

+ 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