![]() |
Worksheet Serialization - Is It Possible?
Hello,
I was wondering if anyone has any techniques on serializing an Excel worksheet. What I would like to do is to grab the worksheet object in save it to a file or a byte stream and reconstitute it in a later session. I've tried spinning through the usedranges collection of a sheet and writing Xml as an approach, but this performs poorly. Any other techniques would be appreciated. It looks like the typelib for Excel exposes some COM interfaces for some level of persistence (File/Memory), but I am not clear how to get at them. This would be the ideal approach! Thanks, Alejandro |
Worksheet Serialization - Is It Possible?
In xl2002 and later, I believe you can do a file saveas and choose XML
http://support.microsoft.com/default...34&Product=xlw XL2002: Excel Saves XML Files in the XML Spreadsheet Format -- Regards, Tom Ogilvy "Alejandro Calbazana" wrote in message om... Hello, I was wondering if anyone has any techniques on serializing an Excel worksheet. What I would like to do is to grab the worksheet object in save it to a file or a byte stream and reconstitute it in a later session. I've tried spinning through the usedranges collection of a sheet and writing Xml as an approach, but this performs poorly. Any other techniques would be appreciated. It looks like the typelib for Excel exposes some COM interfaces for some level of persistence (File/Memory), but I am not clear how to get at them. This would be the ideal approach! Thanks, Alejandro |
All times are GMT +1. The time now is 12:10 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com