// Create a new workbook Workbook workbook = new Workbook(); IWorksheet worksheet = workbook.getWorksheets().get(0); //Set worksheet tab color. worksheet.setTabColor(Color.GetGreen()); //Set worksheet default row height. worksheet.setStandardHeight(20); //Set worksheet default column width. worksheet.setStandardWidth(50); //Split worksheet to panes. worksheet.splitPanes(worksheet.getRange("B3").getRow(), worksheet.getRange("B3").getColumn()); IWorksheet worksheet1 = workbook.getWorksheets().add(); //Hide worksheet. worksheet1.setVisible(Visibility.Hidden); // Save to an excel file workbook.save("ConfigWorksheet.xlsx");