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

Hi,

Is it possible to put a code in or change any options to disable the user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one could
cause some damage if it gets found. I am trying to get an excel sheet that
can only be used for inputting data.

Thanks
LiAD
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Disable ALT+F11

Application.OnKey "%{F11}", ""
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Disable ALT+F11

application.OnKey "%{F11}","dummy"

--
__________________________________
HTH

Bob

"LiAD" wrote in message
...
Hi,

Is it possible to put a code in or change any options to disable the user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one
could
cause some damage if it gets found. I am trying to get an excel sheet
that
can only be used for inputting data.

Thanks
LiAD



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Disable ALT+F11

They can still get to the VBE if they really try, I suspect.
"Bob Phillips" wrote:

application.OnKey "%{F11}","dummy"

--
__________________________________
HTH

Bob

"LiAD" wrote in message
...
Hi,

Is it possible to put a code in or change any options to disable the user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one
could
cause some damage if it gets found. I am trying to get an excel sheet
that
can only be used for inputting data.

Thanks
LiAD




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Disable ALT+F11

In xl2003 you can secure your code by opening the VBE, click Tools
VBAProjectPropertiesProtection and entering a password to lock the project.
Even if the user opens the VBE, they cannot access or change the code for the
project.

"LiAD" wrote:

Hi,

Is it possible to put a code in or change any options to disable the user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one could
cause some damage if it gets found. I am trying to get an excel sheet that
can only be used for inputting data.

Thanks
LiAD



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Disable ALT+F11

If you are trying to restrict access to VBE, password protect your VBE project.
--
If this post helps click Yes
---------------
Jacob Skaria


"LiAD" wrote:

Hi,

Is it possible to put a code in or change any options to disable the user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one could
cause some damage if it gets found. I am trying to get an excel sheet that
can only be used for inputting data.

Thanks
LiAD

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Disable ALT+F11

I am sure they can Barb, you can only divert the determined, not stop them
<g

--
__________________________________
HTH

Bob

"Barb Reinhardt" wrote in message
...
They can still get to the VBE if they really try, I suspect.
"Bob Phillips" wrote:

application.OnKey "%{F11}","dummy"

--
__________________________________
HTH

Bob

"LiAD" wrote in message
...
Hi,

Is it possible to put a code in or change any options to disable the
user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one
could
cause some damage if it gets found. I am trying to get an excel sheet
that
can only be used for inputting data.

Thanks
LiAD






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 386
Default Disable ALT+F11

Thanks for the extra tip

Works well

"JLGWhiz" wrote:

In xl2003 you can secure your code by opening the VBE, click Tools
VBAProjectPropertiesProtection and entering a password to lock the project.
Even if the user opens the VBE, they cannot access or change the code for the
project.

"LiAD" wrote:

Hi,

Is it possible to put a code in or change any options to disable the user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one could
cause some damage if it gets found. I am trying to get an excel sheet that
can only be used for inputting data.

Thanks
LiAD

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 386
Default Disable ALT+F11

Perfect

Thanks again

"Bob Phillips" wrote:

application.OnKey "%{F11}","dummy"

--
__________________________________
HTH

Bob

"LiAD" wrote in message
...
Hi,

Is it possible to put a code in or change any options to disable the user
from using the ALT + F11 short sut to access VB?

I have disabled all the other menu's etc but I just realised this one
could
cause some damage if it gets found. I am trying to get an excel sheet
that
can only be used for inputting data.

Thanks
LiAD




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 Alt+F11 Josh C Excel Programming 3 May 25th 07 07:03 AM
Disable Alt+F11 Bob Excel Discussion (Misc queries) 3 April 27th 06 10:05 PM
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 07:03 AM.

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"