We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Xlsm to Data table conversion

Can any one help me in conversion from xlsm to data table or xls


Thanks for your posting and using Aspose.Cells.

Yes, it is possible to convert your xlsm file into xls format. Please see the code below.

To export data from your excel file like xls, xlsx, xlsm, xlsb etc into your data table, please see the following documentation article.

( http://www.aspose.com/docs/display/cellsnet/Exporting+Data+from+Worksheets )

//This is the path of your xlsm file
string filePath = @“D:\Downloads\source.xlsm”;

//Load your xlsm file inside the workbook object
Workbook workbook = new Workbook(filePath);

//Save your workbook in xls format
workbook.Save(“output.xls”, SaveFormat.Excel97To2003);