tags:

views:

13

answers:

1

I have a long running loop in an unfortunately large excel file that I'm scripting over. I seem to remember a keyword you could put in a loop statement that would cause the program to sort of temporarily "pause" the loop and process other application input, like...mouse movement, screen redraws and such.

This might be a leftover memory from the bad old days of vb5..does anybody have any idea what I'm talking about?

A: 

I suppose you mean

DoEvents

You find further information in Microsoft's Support database:

Definition of DoEvents in Visual Basic for Applications

0xA3
AHH Thank you! Ohh man that was killing me...I knew it was something stupid simple. I just couldn't figure out what to search for.
scaryman