Message 1 of 9
Excel won't die! Task won't go away....
Not applicable
02-19-2007
09:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone, so I found a pretty nasty problem with my little code recently and I can't seem to get rid of it. I can't kill excel.exe out of my task manager until I close AutoCad.
What am I doing wrong?
Here's the description of what I'm doing and if need be I can paste some code.
I populate excel with data gathered from a bunch of drawings.
1. Get the data into an array (thank Jeff), runs sweet.
2. Create excel object if I can't getobject. (add reference to excel library)
3. Open my spreadsheet
4. Populate the cells.
5. Quit, Nothing, and whatever else to excel in order for it to clear itself.
This will still leave an instance of excel in task manager until AutoCad is closed.
This causes a problem for second run of the same command. It is being very annoying to say the least.
Anyone encountered this before?
Thanks,
Viktor.
What am I doing wrong?
Here's the description of what I'm doing and if need be I can paste some code.
I populate excel with data gathered from a bunch of drawings.
1. Get the data into an array (thank Jeff), runs sweet.
2. Create excel object if I can't getobject. (add reference to excel library)
3. Open my spreadsheet
4. Populate the cells.
5. Quit, Nothing, and whatever else to excel in order for it to clear itself.
This will still leave an instance of excel in task manager until AutoCad is closed.
This causes a problem for second run of the same command. It is being very annoying to say the least.
Anyone encountered this before?
Thanks,
Viktor.