Hi Folks,
Hope all are doing well!!
I am using PrimoPDF to generate the PDFreports from Qlikview instead of QlikviewPDF. when i ran the below macro data is exporting to PDF but it is giving save as pop up window. How to by pass the save as pop up window? could any one correct my below code?
Thanks in advance..
Below is the script i used
sub pdftest
set WSHShell = CreateObject("WScript.Shell")
WSHShell.RegWrite "HKCU\Software\PrimoPDF\OutputFile", "C:\Test.PDF", "REG_SZ"
WSHShell.RegWrite "HKCU\Software\PrimoPDF\BypassSaveAs", "1", "REG_SZ"
ActiveDocument.PrintReport "RP01","PrimoPDF", false
set WSHShell = nothing
end sub
Below winodw i was getting.
Regards,
Chandra