The question is really: How do I flush/prevent Excel from bloating my RAM.
I have a bunch of html strings stored in a seperate Sheet which points to different xml web data and I´ve created a loop that:
- imports the xml´s (one by one) as tables to a worksheet
- performs a bunch of string functions/iterations
- puts the results in an array
- deletes xml table and repeat from #1
- pastes the result to a new worksheet
Bob would´ve been my uncle if it weren´t for the fact that all this repeated XML importing is bloating the EXCEL.EXE memory usage to exceed 1.3GB. Every time I open the file it takes forever although the file it self isn´t bigger than 300k. I´m also starting to suspect that excel "remembers" what has been imported although it has been deleted. Is there a work around for this rediculous memory onslaught?
I´m playing with the thought of processing the xml´s in an array instead of importing them to a sheet because I haven´t found another way around this, but I fear it is beyond my skill level. All help is greatly appreciated.