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

Announcements
Discover the Trends Shaping AI in 2026: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

-2147467259 Error using Automation

Hi,

As some background I am using VBS to print reports. Essentially I use the following code:

I am getting an intermittent error but once it starts I have to kill my script. It happens when printing.


Set qvApp = CreateObject("QlikTech.QlikView")
Set qvDoc = qvApp.OpenDoc(qvDocPath)
qvDoc.PrintDocReport oReport, "PDFill", false


Not sure what I'm doing wrong but it works for a while before I get the error?? I may need to run up to 100 reports within the same Qlikview document, looping through fields such as Sales Reps etc

Any Ideas?

0 Replies