-
Excel
I'm working with Excel in VB and I got most everything down except when I close the applications out there are sill instances of excel left running. I tried finding some kinda of command to close them. I used the "Close" method in the workbook class but all it does is close out the workbook and leave the application running. If anyone could provide some insight I would be most grateful. Thanks
-
Re: Excel
Its primarily because of how you are declaring your object variables and / or creating implicit instances or references.
You need to destroy your object variables in a child to parent relation and closing or quitting before setting to nothing.
I have many threads on this issue so you may want to also do a search if you need more assistance on this.