ahh, if it was that simple how easy would be to debug memory leeks...
Unfortunatelly there is no way to know how much memory has been allocated by an object. If the 'object' is an array, then you can use ubound. Len returns the length of a string or the size of a udt, but that it pretty much it.
Marco
|