public static void ApplyRowStyle(this IWorkbook workbook, int usingRowIndex, int startRowIndex = 1) { for (int i = 0; i < workbook.NumberOfSheets; i++) { ISheet sheet = workbook.GetSheetAt(i); sheet.ApplyRowStyle(usingRowIndex, startRowIndex); } }