using latest DLL downloaded from site for evaluation. 4.9.1.0 . Example xls attached. Resulting PDF always has blank last page (should only have 1 page, has 1 page + empty second page).
Workbook wb = new Workbook();
if (xlsx) {
wb.Open(path + "\\" + file, FileFormatType.Excel2007Xlsx);
} else {
wb.Open(path + "\\" + file, FileFormatType.ExcelXP);
}
wb.Save(path + "\\" + toReturn, FileFormatType.Pdf);