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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
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

1 Reply
marcus_sommer

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