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   Conor Hughes <cbhughes@uchicago.edu>
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 16:42:31 +0700

I'm not sure exactly what you're trying to save, but I know that -
xml_tab - command can output to multiple sheets in a .xml file using
the - sheet(name [, sh_opts]) - option.  It is a user created command
by Zurab Sajaia and Michael Lokshin, available from SSC - ssc install
xml_tab -.

Hopefully this will give you what you're looking for.

- Conor

2010/7/27 haiyan gao <haiyangao@hotmail.co.uk>
>
> 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/



--
Conor Hughes
Mathematics and Economics
University of Chicago 2011

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