Question Excel.exe process problem

bankeris

New member
Joined
Nov 3, 2009
Messages
1
Programming Experience
1-3
Hi,

I got problem with EXCEL.EXE processes. i'm working on EXCEL using VBA + VB.net. Sometimes i got an error, it shows me xBook is nothing and xSheet is nothing, in task manager processes list i saw 2 EXCEL.EXE, on the start program i'm using createobject(, excel..) in all other ways getobject, closing i'm giving nothing to object . And my question is: want process i have to kill to do not shutdown my own program but tu turn off the bad one? i know how to kill but dont know witch one is bad. Any suggestions?

xExcel = GetObject(, "Excel.Application")
xBook = xExcel.ActiveWorkbook
xSheet = xBook.ActiveSheet

Using Win7,Vista + Excel2007,
 
Back
Top