Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to create a loop so the program will look for the actual keyboard
input (not a program sendkey nor the virtual key) , say "arrow_down" key, and when it sees the change, it does something else. Here is my loop: Dim keystat(0 To 255) As Byte While keystat(40) < 1 ' keystat(40) is arrow down key ' Check if the arrow down key has been pressed ' This is where I could not see the change. Need some interrupt loop to ' enter keyboard such as input (but I don't want to see it shows on the screen) retval = GetKeyboardState(keystat(0)) Wend Thanks, Bau |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro with interrupt for user input | Excel Programming | |||
How to interrupt code | Excel Programming | |||
Interrupt code | Excel Programming | |||
Interrupt While loop | Excel Programming | |||
QueryTables Interrupt if URL is Down | Excel Programming |