Can I call some 'wait' function in VBA?

L

Lüko Willms

The subject line is my question ...

My event-triggered procedure "Document_New" needs to wait for
another Application to complete its work setting Document-Variables.

Instead of just looping while waiting for this process to complete,
and stealing time from that other Application, I want to cede the time
to the system, by some "wait" function, with the time to wait in
seconds resp. milliseconds.

Any hint?

The "shell" function doesn't help since it just starts another,
asynchronoulsy running process in parallell. No wait.


Yours,
L.Willms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top