//create a new workbook Workbook workbook = new Workbook(); workbook.open(this.getTemplateStream()); //save to an excel file workbook.save("AnnualFinancialReport.xlsx");
//create a new workbook var workbook = Workbook()//save to an excel file workbook.save("AnnualFinancialReport.xlsx")