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: 
srivastalans
Partner - Contributor III
Partner - Contributor III

Macro - Failed to open document error

Hi,

     I used macro in my desktop version QV 11 and upgraded my desktop and server version to QV 12. Now the below code which i used before, throwing an error as "Failed to open document" while running macro. But output got exported successfully after some time.

Question : Why i'm getting that error? Is this is a bug or i need to change my code.

Sub RunMac()

Dim QV, ActiveDocument

    set Qv = CreateObject("QlikTech.QlikView")

   

    QV.OpenDoc Document,"",""

     ......

0 Replies