Read and Write XLSM File Format
Possible Usage Scenarios
Microsoft Excel supports many formats like XLS, XLSX, XLSM, XLSB, CSV, etc. Aspose.Cells also supports many of these formats. This article explains how to read and write an Excel file in XLSM format using Aspose.Cells.
Read and Write XLSM File Format
The following sample code loads the source XLSM file and reads its cell A1 and then copies its contents to cell C4 and saves it as an output XLSM file.
Sample Code
loadOptions, _ := NewLoadOptions(LoadFormat_Numbers) | |
workbook, _ := NewWorkbook_String_LoadOptions("48496674.numbers", loadOptions) | |
workbook.Save_String("48496675.pdf") |