ASP & MS Excel

I can start excel on my server from an ASP script and then create and save a document. When I’m done, Excel doesn’t shutdown. I’ve tried various commands to close excel but it doesn’t respond. What is the proper function?


If your Excel object is called objExcel, thenuse: objExcel.Quit

set objExcel = Server.CreateObject(...... your code' -- doneobjExcel.Quit  set objExcel = Nothing
Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: