public static int NextRowNumber(this OfficeOpenXml.ExcelWorksheet worksheet) { return(worksheet.MaxRowNumber() + 1); }