Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi, I have 2 documents open in QlikView how do I switch from one to another from macro ( Api )?
Thanks
To swich from one qlikview tab or sheet to another, you can use the following.
Sub SwitchTab
For x = 0 to 5
ActiveDocument.ActivateSheet x
ActiveDocument.GetApplication.Sleep 1000
ActiveDocument.GetApplication.WaitForIdle
next
End Sub
Regards.
siva
Use an action button or an action on a text object. You do not need a macro to navigate between documents.
Please find the enclosed file.
Hope this help.
I have 2 documents opened and I want to write a code same to the action that you execute when you press window in the Qlik view menu.
sorry for my english
I want to navigate between 2 documents qvw not between 2 sheets
I have to use a code because I have to do this from VB (external code)
Hi,
You dont need to have the macro to do this.
Instead you can use the "Open QlikView Document" action available under "External" option in Action Tab of a button.
On one of the document (Say A)you can place the button with this action to open other document(Say B).
Do the vice verse for the document B.
Regards,
Kaushik Solanki
I have to use a code because I have to do this from VB (external code),
and I know that I could use OpenDoc or openDocEx but if my document is opened why I have to go over all the credentials to open it again? (username, password, etc. ..)
thank
Hi,
No if the document is open you don't need to give any credentials.
Regards,
Kaushik Solanki