Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I Lock Keyboard input while running Macro? User can press Esc Key to
stop a Macro from running, how do I prevent this? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In my procedure i use this code ....
Sub DisableCancel() Application.EnableCancelKey = xlDisabled For i = 1 To 60000 Cells(i, 1) = i Next Application.EnableCancelKey = False End Sub just replace For i = 1 To 60000 Cells(i, 1) = i Next by your code -- Regards, Halim "Alice" wrote: How do I Lock Keyboard input while running Macro? User can press Esc Key to stop a Macro from running, how do I prevent this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to turn SCROLL LOCK OFF, when kwy not on keyboard? | Excel Discussion (Misc queries) | |||
How can I input arabic text into Excel via a UK keyboard? | Excel Discussion (Misc queries) | |||
Block keyboard input | Excel Programming | |||
lock cells for input | Setting up and Configuration of Excel | |||
Lock the Keyboard | Excel Discussion (Misc queries) |