Hi,
I've developed a COM Excel application with Office Interop, that runs when excel starts and that operates some calculation
In order to avoid to write an endless formatting code (with colors, styles, formula, ...) around data, I would like to create on-the-fly a new WorkSheet already formatted, starting from the XML of a formatted xlsx file (the xls file has been saved as XML and the XML has been included in the .Net solution)
The idea is:
- read the XML
- extract all the information of the worksheet (formula, styles,...)
- convert this into a WorkSheet interop object (to be added to the opened workbook, instead of to be saved somewhere)
Could someone give me some hints?
Many Thanks
Alberto