LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Having stack/heap memory in Excel VBA

I need to have a sort of Hashtable from within VBA/Excel; this is to
prevent the retrieval of lots of data everytime the data is requested,
eg - a text file of data.

My initial thoughts are to create a com object that exposed the
Hashtable from C#/.NET, create a public instance of this in VBA (so
that it remains in working memory). This appears to work, in theory,
but I cannot for the life of me find any documents/tutorials that
describe how to use a COM object in this way in VBA.


Some background:
I'm using C# to create function libraries for Excel. I can use either
Excel 2000 or Excel 2002; I'm also considering using ManagedXLL
(www.managedXLL.net) to automate the creation of an XLL. I'm aware of
C#/.NET automation for Excel, but have not explored this route yet. If
you have thoughts on this, I'd like to know as well.
Thanks,

- Luis

 
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
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
How do you stack fractionsin excel? excel fraction fromatting Excel Discussion (Misc queries) 3 November 22nd 06 06:07 PM
How do I stack worksheet tabs on an excel spreadsheet? Pamela Gartner Excel Worksheet Functions 1 March 2nd 06 11:12 PM
Tolerance Stack Excel Worksheet MTUSNOW Excel Discussion (Misc queries) 0 September 7th 05 11:05 PM
Excel Charts need to have a funtion where you can Stack and Group Denise Charts and Charting in Excel 1 August 18th 05 10:16 AM


All times are GMT +1. The time now is 05:15 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"