开发者

Process other application activity in long loop

开发者 https://www.devze.com 2023-01-16 04:30 出处:网络
I have a long running loop in an unfortunately large excel file t开发者_如何学运维hat I\'m scripting over. I seem to remember a keyword you could put in a loop statement that would cause the program t

I have a long running loop in an unfortunately large excel file t开发者_如何学运维hat 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?


I suppose you mean

DoEvents

You find further information in Microsoft's Support database:

Definition of DoEvents in Visual Basic for Applications

0

精彩评论

暂无评论...
验证码 换一张
取 消