PC Review


Reply
Thread Tools Rate Thread

disable Alt+F11

 
 
=?Utf-8?B?Sm9zaCBD?=
Guest
Posts: n/a
 
      23rd May 2007
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 With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      23rd May 2007
Why don't you just secure the code with a password.
In VBE Tool>Options>Properties>Protection 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

 
Reply With Quote
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      23rd May 2007
Sub noshow()
Application.OnKey "%{F11}", ""
End Sub
--
Gary''s Student - gsnu200723
 
Reply With Quote
 
NickHK
Guest
Posts: n/a
 
      25th May 2007
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" <(E-Mail Removed)> wrote in message
news:F547F489-5138-4687-A389-(E-Mail Removed)...
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
if I disable ssdp with this disable upnp for my router? jim Windows XP Help 2 31st Jan 2007 08:15 AM
Performing something Like Disable / changing the layout of Disable esakal Microsoft C# .NET 0 6th Sep 2006 05:01 PM
Performing something Like Disable / changing the layout of Disable esakal Microsoft Dot NET 0 6th Sep 2006 05:01 PM
Disable Password Prompt/Disable User Lock =?Utf-8?B?SnVsY28=?= Windows XP General 2 25th Aug 2006 02:05 AM
Skin pocket pc, disable hardware buttons, disable start button Tizio Incognito Microsoft Dot NET Compact Framework 1 3rd Feb 2005 09:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:58 PM.