Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Re: st: How to save outputs to different sheets‏ in the same Excel file


From   Jeph Herrin <stata@spandrel.net>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: st: How to save outputs to different sheets‏ in the same Excel file
Date   Tue, 27 Jul 2010 13:22:57 -0400

You may find -odbc- useful; it will allow you to
write to individual excel sheets.

hth,
Jeph

On 7/27/2010 5:10 AM, haiyan gao wrote:
Dear all,

Is it possible to save outputs to different sheets in the same Excel file in stata? For example, something like:
outsheet v1 v2 using "M:ABC[sheet 1].xls", replace
outsheet v2 v3 using "M:ABC[sheet 2].xls", replace

Your advice will be very much appreciated.

Bests wishes,
Haiyan 		 	   		
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
*
*   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/

*
*   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   |   Site index