We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using 2 excel templates to generate a single PDF

Hi guys,

I’m currently facing the following scenario:

I got to generate a PDF with aspose cells from a template I’ve made, that could end up in several pages.

After that I also need to “append” other template (a breakdown of the prior pages) in the very same pdf file.

So it could end up in something like Page 1 to 3 using template one and page 4 to 6 with data from template 2.

What is the easiest way to do that? And also, how do I make sure that if Template 1 data ends on the middle of page 3 that I have a forced break page to start getting data from template 2 on page 4.

Thanks in advance!

Hi Felipe,

Thanks for your posting and considering Aspose.Cells.

You will have to first combine the multiple workbooks into a single workbook and then convert the combined workbook into pdf.

Please see the following documentation article that illustrates how to combine two workbooks into a single workbook.

The following article explains how to convert workbook into pdf.

Another way is use Aspose.Pdf and combine multiple PDF files into a single PDF file.

Let us know if you encounter any other issue, we will be glad to look into it and help you further.