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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to print as pdf all sheets in one single qlik

How to print as pdf all sheets in one single qlik ?

3 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi,

Use the below code.

ActiveDocument.PrintAllSheets true

ActiveDocument.GetApplication.Sleep 2000



set fso = CreateObject("Scripting.FileSystemObject")

fso.MoveFile PdfPath , NewFilePath



Points to be noted. IN Pdf Printer Setting -- > Printing Preference there is tab for Save.

Provide a UserDefined Path eg: C: \ Test .pdf.

Using Scripting.FileSystemObject move the file to a new file so that pdf doesnt get overwritten by other sheets.

Not applicable
Author

Hi Deepak,

Thanks .. This macro generates the PDF for each sheets and prompt us to stores them as saperate files.

I have a requirement of storing them on the same PDF file by appending the sheets.

Regards

deepakk
Partner - Specialist III
Partner - Specialist III

HI Surender,

In your case you might have to create it using edit report option in reports and the call the report.

I am not sure if we can append the entire sheet into one. But we can drag multiple objects from different sheets and can add into the reports.