Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Persistent classes

I have read a number of post describing how to use a hidden sheet to
store persistent data, however my data is not simple (just a few
strings or numbers) so I was wondering if there was any way to store a
class instance in a hidden sheet.

The problem with my data is that I have an instance of one class,
which contains collections of classes A, B, C, and D. A in turn
contains a collections of D, D a collection of B. C also contains
collections of other classes. Most of those collections will grow as
the user works with the sheet. This means that I can not store the
member of the classes easily in a sheet, since I would have to move
them around when they grow (I would have needed a N-dimentional sheet
instead of just 2D).

--
Erik Wikström

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Persistent classes

I cannot see why you couldn't store the data in a worksheet.

It would be easy to loop around and dump all existing data.

You certainly cannot persist the class, the best would be to dump all that
data elsewhere ... the same thing.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
ups.com...
I have read a number of post describing how to use a hidden sheet to
store persistent data, however my data is not simple (just a few
strings or numbers) so I was wondering if there was any way to store a
class instance in a hidden sheet.

The problem with my data is that I have an instance of one class,
which contains collections of classes A, B, C, and D. A in turn
contains a collections of D, D a collection of B. C also contains
collections of other classes. Most of those collections will grow as
the user works with the sheet. This means that I can not store the
member of the classes easily in a sheet, since I would have to move
them around when they grow (I would have needed a N-dimentional sheet
instead of just 2D).

--
Erik Wikström


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
Persistent Data Structures in VBA [email protected] Excel Programming 5 September 10th 07 04:20 PM
Calling Classes from Classes J Streger Excel Programming 2 March 23rd 07 01:13 PM
Persistent Data in a Combo Box The Hawk Excel Programming 3 April 30th 05 10:10 AM
Persistent data in an Add-in Bura Tino Excel Programming 12 May 4th 04 07:20 PM
Persistent Excel toolbar Mohamed ABOU-ZAID Excel Programming 0 October 1st 03 04:45 PM


All times are GMT +1. The time now is 06:28 AM.

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"