Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

ActiveDocument.GetApplication.WaitForIdle

Hello,

Does anyone know why a macro stops on

ActiveDocument.GetApplication.WaitForIdle


I am using QV 11 SR4 and I have another machine running SR5. It doesn't work on either.


I am trying to unhide a sheet to copy it but the sheet does not activate until the module stops running. All my research points to ActiveDocument.GetApplication.WaitForIdleto solve my problem (Activedocument.getapplication.sleep 10000) does not work it still stays on the previous sheet until the macro stops.


Thanks for the help!

1 Solution

Accepted Solutions
Not applicable
Author

I didn't realize it doesn't work during a macro test. It works using the OnPostReload document trigger.

View solution in original post

1 Reply
Not applicable
Author

I didn't realize it doesn't work during a macro test. It works using the OnPostReload document trigger.