I’m looking for a way to export a predefined number of tabs into one pdf file i.e. My report has 7 tabs but only the first 3 must be exported into a pdf file.
When I use below code each tab is exported to a seperate pdf file
For i = 1 To 3
reps(i).ExportAsPDF ("C:\Temp\" & reps(i).Name & ".pdf")
It would be a little awkward but have you considered:
Copying the first 3 tabs into a new report and then using the addin code to all three as one report.
I don’t think you can do what you want without an intermediate report as I don’t think there is a way to hide a report from the exporter.
I think there are some utilities that can merge two or more pdf’s into one file. It’s the only solution I can think of, and I believe there are some tools mentioned on the forum.