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: Re: st: Export Excel – multiple worksheets


From   "Kathrin Jacobs" <jacobs.1@gmx.net>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: st: Re: st: Export Excel – multiple worksheets
Date   Tue, 23 Oct 2012 12:56:18 +0200

Thank you so much for all the responses!

I solved it.

Kathrin

-------- Original-Nachricht --------
> Datum: Tue, 23 Oct 2012 10:54:48 +0200
> Von: daniel klein <klein.daniel.81@googlemail.com>
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: Re: st: Export Excel – multiple worksheets

> For
> 
> export excel Industry `stub'_2000-`stub'_2010 using foo.xls
> ,sh("`Worksheet++i'")
> 
> read
> 
> export excel Industry `stub'_2000-`stub'_2010 ///
> using foo.xls ,sh("Worksheet`++i'")
> 
> Best
> Daniel
> 
> -- 
> Kathrin,
> 
> try something like
> 
> loc i 0
> foreach stub in GDP EMP [...] {
>     export excel Industry `stub'_2000-`stub'_2010 using foo.xls
> ,sh("`Worksheet++i'")
> }
> 
> assuming the correct order of variables.
> 
> A minor side issue for StataCorp. I noticed that the indicated
> abbreviation in the help file for -import excel- and -export excel-
> result in an syntax error. Typing
> 
> import exc using foo.xls
> 
> imports foo.xls, but returns error code 198 export unknown subcommand
> "exc"
> 
> Best
> Daniel
> 
> -- 
> Hi,
> 
> I want to use the export excel feature and I am unsure about the
> syntax. I would like to export variables into multiple Excel
> worksheets.
> [...]
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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