Free Support Forum - aspose.com

Question about importing formatted cells

With Aspose Cells, is it possible to import an excel spreadsheet to .NET that includes the cell formats? I noticed it goes the other way, but wondering about import?

Hi,

If you want to load/open a template excel file and save it as (after modifying or filling some data retaining the cells styles formats), you may try as:

Workbook workbook = new Workbook();

workbook.Open("d:\\test\\mytemplate.xls")

//Do something...

workbook.Save("d:\\test\\out_mytemplate.xls");

Thank you.