>> So after the loMyClass.Method1() call, that program ends? What you should do is after the method call, set loMyClass = .NULL. to clear it from memory.
>
>Well, loMyClass gets out of scope when it is finished. The problem is that the class definition remains in memory. Nadya's suggestion seems to be the way to go.
BTW, interestingly, I haven't used this command myself. But I've just realized a place, where I can use it. I'll check the code on Monday.
If it's not broken, fix it until it is.
My Blog