Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I have read a lot about problems with getting Excel to quit from VBScript, but none of the suggestions seem to work for me. I am using VBScript 5.6 and Excel 2002 SP3. It doesn't get much simpler than this: Sub Main() Dim oExcel Dim oWorkBook Set oExcel = CreateObject("Excel.Application") Set oWorkBook = oExcel.WorkBooks.Open("C:\TEST.XLS") oWorkBook.Close False Set oWorkBook = Nothing oExcel.Quit Set oExcel = Nothing End Sub Still, Excel is remaining active in the task-manager after running this snippet. Leaving out the workbook-stuff (just starting and closing Excel) works fine, but as soon as I start using an actual workbook, Excel won't quit. Does anybody have any ideas on how to solve this? Thanks, Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel application.quit in macro problem | New Users to Excel | |||
The old application.quit problem | Excel Programming | |||
The old application.quit problem | Excel Programming | |||
The old application.quit problem | Excel Programming | |||
Application.quit | Excel Programming |