Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a VB.NET program that opens an EXCEL workbook. In this program I modify the workbook, I save it, then I close it. The code is like this: Sub mySub() Dim excelApp As Excel.Application Dim excelDoc As Excel.Workbook excelApp = New Excel.Application excelDoc = excelApp.Workbooks.Open("c:\temp\test.xls") 'code that update the workbook.... excelDoc.Close(True) excelDoc = Nothing excelApp.Quit() excelApp = Nothing End Sub I have no errors, but the EXCEL.EXE process keep alive after the execution. The EXCEL.EXE process starts on statement: excelApp = New Excel.Application and it should die on statement: excelApp.Quit() It's right? Thanks for help! franx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Closing workbooks w/o closing Excel | Excel Discussion (Misc queries) | |||
How to count process running time ( process not finished) | Excel Programming | |||
How to count process running time ( process not finished) | Excel Programming | |||
Mail merge issue - ghost Excel process remains after closing application | Excel Programming | |||
Mail merge issue - ghost Excel process remains after closing application | Excel Programming |