Getting Hold of a QlikView Document

Accessing QlikView Documents from the Outside

QlikView documents can be accessed from outside the QlikView program by means of the Automation interface.

A direct way to access existing documents is to use GetObject.


Note: This example does not work in VBScript.

Private Sub OpenAndReload_Click()

Set QvDoc = GetObject



End Sub

Accessing QV Documents from the Internal Macro Interpreter

When using the internal macro interpreter, the only reference available is the ActiveDocument property of the class Application. All references must be made starting from that point.


Sub Clr

Set QVDoc = ActiveDocument


End sub

Sub EndQV


End sub

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?