simple excel process not killed
Make it visible to see what's causing the trouble:
excelApp.visible = true
before you try to quit
Excel may be waiting for a click of a button from you.
zino wrote:
the follwoing procedure create a simple Excel object and try to close it, but
the Excel process still in memory
public sub createExcel
Dim excelApp As Excel.Application
excelApp = New Excel.Application
excelApp.Application.Quit() ' I tried excelApp.Quit() and did not work
excelApp = Nothing
End sub
how can I solve it?
--
Dave Peterson
|