View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
myriams9 myriams9 is offline
external usenet poster
 
Posts: 1
Default EXCEL.exe stays open after Quit method in an HTA

Im trying to close the Excel.exe that is open in my
Processes .Imm usng JSCRIPt and VBScript,

var ExcelApp =new ActiveXObject ("Excel.Application") ;

....
ExcelApp.Quit();
//ExcelApp = null;
NAR (ExcelApp);

<script lanugae = "VBscript"
Sub NAR( ByVal O)
Set o = Nothing
End Sub

Still my Processes show an instance open

How can I do this? Any help?
Need to save 35 times and can't have 35 instances of
Excel .exe running