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

Free Support Forum - aspose.com

Importing Styles and Worksheets

I have added an excel file to my current C# project and I was wondering if anyone knew how to import the styles and worksheets from the added excel document into the one I am creating in my code.


Thanks for considering Aspose.

Well, you may use Workbook.Open() method to load the template excel file with data and formattings (styles), Copy worksheets of the template file to your workbook and save it.

Please check for further references:

For Formattings:

And please check the source code of our featured demos (When you do install Aspose.Cells using its MSI, the demos are automatically installed on your pc):

Thank you.

Thanks for the help, that option worked out.