A
Alex
Hi
I'd like to pause a Winword macro until a specific time. I tried something
like
Application.Wait Now + TimeValue("00:00:10")
and it came with the compilation error "Method or data member not found".
Is it only for Excel?
Besides, this seems to be a busy wait which blocks the PC, which I have to
avoid, because it will run on a Terminal Server.
Why "Application.Wait" doesn't work and what is a better way to build a
delay in the code?
TIA
Alex
I'd like to pause a Winword macro until a specific time. I tried something
like
Application.Wait Now + TimeValue("00:00:10")
and it came with the compilation error "Method or data member not found".
Is it only for Excel?
Besides, this seems to be a busy wait which blocks the PC, which I have to
avoid, because it will run on a Terminal Server.
Why "Application.Wait" doesn't work and what is a better way to build a
delay in the code?
TIA
Alex