Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: ASP Objects
Expertise: Beginner
Jun 30, 1999

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, then use: objExcel.Quit

set objExcel = Server.CreateObject(...
... your code
' -- done
objExcel.Quit  
set objExcel = Nothing
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date