Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatically appending newly added data on worksheet to a master list worksheet tabylee via OfficeKB.com Links and Linking in Excel 0 December 17th 09 04:24 PM
plot graph from multiple worksheet as embedded chart object on every worksheet jeftiong New Users to Excel 0 August 23rd 06 01:50 PM
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet Aster Excel Worksheet Functions 3 March 12th 06 09:58 AM
I want in one worksheet to relatively link to/reference cells in another without changing the format of the current worksheet. [email protected] Excel Discussion (Misc queries) 0 September 22nd 05 04:39 PM
Attaching a JET database to an Excel Worksheet OR storing large binary data in a worksheet Ant Waters Excel Programming 1 September 3rd 03 11:34 AM


All times are GMT +1. The time now is 02:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"