Type Statements and Memory Release
I have read through the several posts on this subject, but am still
having problems understanding what the best way forward is.
I'm running on Excel 2000.
I have 3 different Type statements, for 3 different INI file types. I
occasionally have problems running out of string space. I also think
it's good practice to release memory as you go along, so I'd really
like to release the memory once I've read an INI file, using Get, and
transferred the contents to the objects I'm working with.
So, I've tried putting the Type statements into a class module so that
I can set it to Nothing when I'm finished but, of course, it's not
allowed to put Type statements into a class module. I can't simply
set the Type statement to = Nothing, since it's not an object.
Can anyone suggest how I can easily release this memory and claw back
some of the string space I run out of from time to time?
|