ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   breaking a loop (https://www.excelbanter.com/excel-programming/277687-breaking-loop.html)

Arkaad

breaking a loop
 
Hi.
How to break a loop by pressing Esc key?


--
Arkaad




Tom Ogilvy

breaking a loop
 
Hitting the escape key will generally stop code excecution (if not try
Ctrl+c or Ctrl+Break). If you want greater control look in Excel VBA help
on the

EnableCancelKey property.

--
Regards,
Tom Ogilvy

"Arkaad" wrote in message
...
Hi.
How to break a loop by pressing Esc key?


--
Arkaad






Arkaad

breaking a loop
 
"EnableCancelKey property" - it was that I wanted :)
Thanks for help.

--
Arkaad



Użytkownik "Tom Ogilvy" napisał w wiadomości
...
Hitting the escape key will generally stop code excecution (if not try
Ctrl+c or Ctrl+Break). If you want greater control look in Excel VBA help
on the

EnableCancelKey property.








All times are GMT +1. The time now is 11:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com