Hi,
converting the attached document 4b45c7c16dd14b7cbf4c105847673a3b.zip (12.6 KB)
using this code (Aspose.Cells 21.9.0)
var inputFile = new FileInfo("Documents/4b45c7c16dd14b7cbf4c105847673a3b.xlsx");
using var input = inputFile.OpenRead();
var workbook = new Workbook(input, new LoadOptions(LoadFormat.Auto));
// "Periode: 15.2.2021" on page two instead of page one
// "Unt.Gru" on page four instead of page three etc.
workbook.Save("Out/ExcelWithDifferentLayout.pdf", new CellsPdfSaveOptions());
results in a pdf with 3 pages instead of 2.
The page breaks seem arbitrary.
Best regards,