Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Stop a loop with a keyboard

Hi

I need a macro code easy to understand for the following problem.

I have a many records in the worksheet and need in some cases stop the macro
loop with press any key; example Space Bar.

its that possible?


Thanks for your expertice advice


Regards,


Fernando Ortiz


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Stop a loop with a keyboard

Hi Fernando

It's a little complex, but see the working solution CheckKey on Stephen
Bullen's page
http://www.bmsltd.co.uk/Excel/Default.htm

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Fernando Ortiz" skrev i melding
...
Hi

I need a macro code easy to understand for the following problem.

I have a many records in the worksheet and need in some cases stop the

macro
loop with press any key; example Space Bar.

its that possible?


Thanks for your expertice advice


Regards,


Fernando Ortiz




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
find keyboard short-cut to type symbols on keyboard steamcomputerdriver Excel Discussion (Misc queries) 2 February 6th 10 01:58 PM
Find loop doesn't loop JSnow Excel Discussion (Misc queries) 2 June 24th 09 08:28 PM
Stop a loop when certain data is found jsmith Excel Discussion (Misc queries) 3 June 2nd 08 10:12 PM
What causes my number pad on my keyboard to suddenly stop functio. Tennessee Excel Discussion (Misc queries) 1 March 25th 05 12:03 AM
newbie: stop a FOR NEXT loop Mike H[_7_] Excel Programming 4 October 11th 03 04:47 PM


All times are GMT +1. The time now is 10:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"