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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro to create pdfs for ALL reports

Hi All,

I'm looking for a macro that would create pdfs and store them in seperate folders named after given reports. Macro should create pdfs for ALL reports within the qv app without listing the reports by name. Any help much appreciated.

Regards,

Przemek

Labels (1)
1 Reply
marcus_sommer
MVP
MVP

Basically you could with the code below print all reports:

set reps = ActiveDocument.GetDocReports

for i = 0 to reps.Count-1

    set rep = reps.Item(i)

    ActiveDocument.PrintDocReport rep.id

   ' msgbox(rep.Id)

next

Store into PathFile is depending from your pdf-printer. With the old QlikViewPDF (< QV10) is it easy ..., by another printer Idon't know.

- Marcus