// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Android try { String root = Environment.getExternalStorageDirectory().toString(); File myDir = new File(root + File.separator + "Aspose"); String filePath = myDir.getCanonicalPath(); Workbook workbook = new Workbook(filePath + File.separator + "Book1.xlsx"); //Save in default (Excel2003) format workbook.save(filePath + File.separator + "book_out.xls"); //Save in Excel2003 format workbook.save(filePath + File.separator + "book_out.xls", FileFormatType.EXCEL_97_TO_2003); //Save in Excel2007 xlsx format workbook.save(filePath + File.separator + "book_out.xlsx", FileFormatType.XLSX); //Save in SpreadsheetML format workbook.save(filePath + File.separator + "book_out.xml", FileFormatType.EXCEL_2003_XML); } catch (Exception e) { Log.e(TAG, "Save to a location", e); }