Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I learn qv three month,but I can't export a pdf ,please help me ,thanks a lot
There's some different ways about exporting PDF reports if you feel like you need static reporting.
1. Print the report and choose the PDF printer as your printer
2. If you need to automate the printing, you can use a macro (Search the forum for Macro PDF and you'll find something useful). This is a bit tricky.
3. Get Publisher and the PDF generator license add on to allow you to schedule report distribution across the userbase.
hi,first,thanks for your response,I use macro,but when it executed the code"ActiveDocument.PrintReport "RP01", "QlikviewPDF", false",it stop.I want to know why this happen ,and how can I solve it? I have installed qvpdf
my code is below:
sub pdftest
set WSHShell = CreateObject("WScript.Shell")
WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", "E:\Test.PDF", "REG_SZ"
WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"
ActiveDocument.PrintReport "RP01", "QlikviewPDF", false
set WSHShell = nothing
end sub
Well.. first of all, are you using the old PDF writer QlikViewPDF, or do you have the PDF-XChange 3.0 if you look under your Windows Printers? If it's the latter, you'll have to modify your macro to pick the correct printer, which sounds like the issue here.