Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I used the ONKEY event to disable the shortcut keys, but I cannot get
it to work when you press CONTROL + BREAK keys to interrupt macros and eliminate the RUN, DEBUG, CANCEL box that appears when you do this. Can you please help me with the VBA code that I would use to disable the CONTROL + BREAK keys. Please email the solution at: thank you in advance, MARCELLO Email: |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello MARCELLO, :D
Please add this code in the top of your procedure. Code: -------------------- Application.EnableCancelKey = xlDisabled -------------------- --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look in Excel VBA help for the EnableCancelKey method.
-- Regards, Tom Ogilvy "Marcello do Guzman" wrote in message ... I used the ONKEY event to disable the shortcut keys, but I cannot get it to work when you press CONTROL + BREAK keys to interrupt macros and eliminate the RUN, DEBUG, CANCEL box that appears when you do this. Can you please help me with the VBA code that I would use to disable the CONTROL + BREAK keys. Please email the solution at: thank you in advance, MARCELLO Email: |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Think it would be advisable to understand what the options are for
enablecancel key rather than just disabling it - thus the recommendation to read the help file. -- Regards, Tom Ogilvy "Colo " wrote in message ... Hello MARCELLO, :D Please add this code in the top of your procedure. Code: -------------------- Application.EnableCancelKey = xlDisabled -------------------- --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Shortcut Keys | Excel Discussion (Misc queries) | |||
Shortcut Keys ? | Excel Discussion (Misc queries) | |||
shortcut keys | Excel Discussion (Misc queries) | |||
Disable CUT via toolbars or shortcut keys | Excel Discussion (Misc queries) | |||
Shortcut Keys | Excel Programming |