Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: close excel file from within Stata


From   raoul reulen <r.c.reulen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: close excel file from within Stata
Date   Wed, 11 Nov 2009 11:54:28 +0000

In a do-file I write the final results of my analyses to an excel
file, but the do-file will (obviously) not run when the excel file
with the results is open as it cannot overwrite the excel file because
it is in use. Is there an easy way to close the excel file from within
Stata? Perhaps using the shell command?

Thanks.

Raoul
-------------------------------------------------------
Raoul C. Reulen
Cancer Research UK Training Fellow
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index