|
-
December 6th, 1999, 01:05 PM
#1
Excel Object
I create Excel Book as an object from VB application. After that I need to close it and delete all its objects from memory. I tried:
objExcel.Quit
set objExcel = nothing
Book disappears, but Excel Main Window is still sitting in a memory (I'm checking it with Task Manager).
I tried
lngReturn = FindWindow("XLMAIN", vbNullString) '"XLMAIN"-is the name of Excel Window Class
lngReturn = PostMessage(lngReturn, &H10, 0, 0)
The same result - Excel disappears but continue to sit in a memory.
How can I stop Excel and clean a memory.
Thank you.
Vlad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|