Im trying to detect either a mouse click or a keypress while runing a for/next loop. is there a command that will allow me to check for such events while inside a loop.


for x=1 to infinity

'i want to check for a mouse or keypress here

next


as you probably know while aloop is running all operations suspend as far as

normal VB event go and they are not detected.


Thanks.