Print multiple worksheets to one page
Refer to the following example code to allow users to export multiple worksheets to a single page in the PDF file.