devxlogo

ASP & MS Excel

ASP & MS Excel

Question:
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?

Answer:

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

set objExcel = Server.CreateObject(...... your code' -- doneobjExcel.Quit  set objExcel = Nothing
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist