Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro - wait/sleep/pause

I am Looking for a macro that will allow the switching of Tabs in the model every 15 seconds?

Anyone. Thanks

1 Reply
Not applicable
Author

Hi, Stephen,

In my case I have created a loop containing the time spected to calculate the data.

Example:

For i = 1 to 10000 'this is a delay wait for the time specified before to continue

    ActiveDocument.Fields("FieldName").Select vName ' this is a variable that contains the current name readed from qlikview table 

Next

ActiveDocument.Fields("FieldName").clear 'this statement clear de current field selected to continue.


I hope help you!