Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default disable Alt+F11

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default disable Alt+F11

Why don't you just secure the code with a password.
In VBE ToolOptionsPropertiesProtection then Lock code for viewing.

"Josh C" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default disable Alt+F11

Sub noshow()
Application.OnKey "%{F11}", ""
End Sub
--
Gary''s Student - gsnu200723
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default disable Alt+F11

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

"Josh C" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable # bmelt Excel Discussion (Misc queries) 8 February 18th 09 04:39 PM
Disable alt+tab Ozgur Pars[_2_] Excel Programming 2 October 12th 06 06:04 AM
disable F1 12505-5B Excel Discussion (Misc queries) 1 February 16th 05 08:03 PM
disable F1 after F2 Dw70 Excel Programming 1 January 30th 05 04:58 PM
Disable ALT KEY Dunce in SC[_2_] Excel Programming 2 October 26th 03 11:41 PM


All times are GMT +1. The time now is 03:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"