Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disabling Alt+F11
Salut! Is there any way I can prevent the user stopping my macros b
pressing Alt+F11 and breaking the routine? Thank -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disabling Alt+F11
Are you asking how you can keep those users out of your code?
If yes, inside the VBE, you can lock the project. Tools|VBAProject Properties|Protection tab. Give it a memorable password and lock the project for viewing. If you're asking how to stop the users from interrupting your running code, take a look at VBA's help for: Application.EnableCancelKey "richard_b2004 <" wrote: Salut! Is there any way I can prevent the user stopping my macros by pressing Alt+F11 and breaking the routine? Thanks --- Message posted from http://www.ExcelForum.com/ -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disabling Alt+F11
I should have added that protecting the VBA project will keep most out, it won't
stop the determined. There are commericial password breakers (pretty cheap) and other free versions. "richard_b2004 <" wrote: Salut! Is there any way I can prevent the user stopping my macros by pressing Alt+F11 and breaking the routine? Thanks --- Message posted from http://www.ExcelForum.com/ -- Dave Peterson |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disabling Alt+F11
Hi Richard,
Use: Application.OnKey "%{F11}", "" Also, you will need to reset it when you are done! Application.OnKey "%{F11}" -TJ On Sat, 15 May 2004 04:22:59 -0500, wrote: Salut! Is there any way I can prevent the user stopping my macros by pressing Alt+F11 and breaking the routine? Thanks --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Disabling macros | Excel Discussion (Misc queries) | |||
Disabling the cut function? | Excel Discussion (Misc queries) | |||
Disabling updatelinks | Excel Discussion (Misc queries) | |||
disabling cells | Excel Programming | |||
Disabling Commands | Excel Programming |