|
-
Dec 1st, 2009, 08:45 AM
#7
Thread Starter
Addicted Member
Re: [RESOLVED] how to stop Excel creating extra books
Bad news, it cleared the instance great for 1, but when I do the subsequent excel books it mysteriously stops, no errors at all.
It took a while to find out exactly where it goes off the grid, but this is the line..
System.Runtime.InteropServices.Marshal.ReleaseComObject (obj)
obj = Nothing
I even reversed the order and eliminated them one by one, but it seems that doing the Release again does not work!!!! seems kinda stupid to me. THe object is totally new each time it's created.
So, for now I am living with multiple instances in task manager until the pc is restarted...
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
|