-
Notifications
You must be signed in to change notification settings - Fork 5
Create New Workbook
shoaibkhan-aspose edited this page Jul 14, 2014
·
2 revisions
Workbook wb = new HSSFWorkbook();
FileOutputStream fileOut;
fileOut = new FileOutputStream("newWorkbook.xls");
wb.write(fileOut);
fileOut.close();
Workbook workbook = new Workbook(); // Creating a Workbook object
workbook.save("newWorkBook.xlsx", FileFormatType.XLSX); //Workbooks can be saved in many formats
Download Source Code
For further releases and updates, please follow these new repositories:
- Aspose.Words Java for Apache POI
- Aspose.Cells Java for Apache POI
- Aspose.Slides Java for Apache POI
- Aspose.Email Java for Apache POI
- For documentation, please visit Aspose Docs.
- Raise your queries and suggest more examples via Aspose Forums or via new social coding sites.