disable Alt+F11

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

i have a program that runs in MS Excel. i do not want any one to see the MS
Visual Basic Editor option. i have already disabled Toools->Macros, but
AltF11 is a shortcut that i would like to disable. any help would be great.

Thanks, Josh
 
Why don't you just secure the code with a password.
In VBE Tool>Options>Properties>Protection then Lock code for viewing.
 
Personally, I dislike the idea of a specific WB changing the user's
environment to suit its own needs.
As you have disabled Tools->Macros, the user can now not see ANY macros, not
only yours. Why should this be a good idea, as the user may be working with
several Excel files at the same time, not only yours.
As advised in the other post, use VBE protection and possibly "Option
Private Module"
Alternatively look into add-ins and COM addins.

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Disable ALT+F11 8
How do I remove VBA projects in Excel 4
alt & f11 via macro 14
Alt codes 4
Managing Macros 3
When something in module is shown as a macro 3
Disable Alt+F11 3
Disabling Alt+F11 3

Back
Top