#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Keypressed?

How do I implement something like:

For I = 1 To 10000
If KeyPressed='H' Then
Get out of the Loop (Or do something else)
End If
Next I

/Hans

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Keypressed?

Hi Hans

That is a little complicated and requires some Windows API programming. See
Stephen Bullen's CheckKey.zip at http://www.bmsltd.co.uk/Excel/Default.htm.

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

"Hans" skrev i melding
...
How do I implement something like:

For I = 1 To 10000
If KeyPressed='H' Then
Get out of the Loop (Or do something else)
End If
Next I

/Hans



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Keypressed?

WOW it works perfectly!!!
Kisses, hugs!!! Thanks!!!
/Hans

-----Original Message-----
Hi Hans

That is a little complicated and requires some Windows

API programming. See
Stephen Bullen's CheckKey.zip at

http://www.bmsltd.co.uk/Excel/Default.htm.

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

"Hans" skrev i melding
...
How do I implement something like:

For I = 1 To 10000
If KeyPressed='H' Then
Get out of the Loop (Or do something else)
End If
Next I

/Hans



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Keypressed?

Glad to hear that Hans. I'm unfortunately not the brain behind that
masterpiece :-)
--
HTH. Best wishes Harald
Followup to newsgroup only please

"Hans" skrev i melding
...
WOW it works perfectly!!!
Kisses, hugs!!! Thanks!!!
/Hans

-----Original Message-----
Hi Hans

That is a little complicated and requires some Windows

API programming. See
Stephen Bullen's CheckKey.zip at

http://www.bmsltd.co.uk/Excel/Default.htm.



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
Keypressed function Hans Excel Programming 1 October 2nd 03 03:01 PM


All times are GMT +1. The time now is 06:03 PM.

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

About Us

"It's about Microsoft Excel"