Quote Originally Posted by .paul. View Post
instead of the API, there's a .Net method:

vb Code:
  1. threading.thread.sleep(millisecondsTimeout as integer)
Thanks, I finally settled on the "Sleep" method after trying a few tricks for "do while loop" and "for i, next i" but had trouble getting the timing right.

I'll give this a try.