Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Please let me know the difference between following two statements -
ActiveDocument.GetApplication.WaitForIdle
ActiveDocument.GetApplication.Sleep 2000
Well, "Sleep" waits until the specified amount of time has elapsed, "WaitForIdle" waits until idle state has been reached - if that never happens due to whatsoever reason, macro execution waits forever unless you have specified a timeout.
Rgds,Joachim