Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Fw: Exporting variable labels to an excel worksheet
From
Steve Nakoneshny <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Fw: Exporting variable labels to an excel worksheet
Date
Thu, 8 Nov 2012 09:21:54 -0700
As per the FAQ, it is assumed you are using the most current version of Stata unless specifically stated to be otherwise. You can use -outsheet- in Stata 11:
sysuse auto
outsheet using autodata.xls
See -h outsheet- for more detail.
Steve
On 2012-11-08, at 9:14 AM, Amir Kasaeian wrote:
>
> Thank you all,
> But this is just works on Stata 12 but what about Stata 11?
> Could you please let me know the way in Stata 11.
> Thank you very much.
>
> Bests,
> Amir
>
> ________________________________
> From: Rebecca Pope <[email protected]>
> To: [email protected]
> Sent: Thursday, 8 November 2012, 17:44
> Subject: Re: st: Fw: Exporting variable labels to an excel worksheet
>
> Yes, you can. If you see -help export excel-, you'll find that
> exporting to Excel gives you the following option
> "firstrow(variables|varlabels)" which lets you write the variable
> labels in place of the variable names to the first line of the
> spreadsheet.
>
> Hope this helps.
> Rebecca
>
>
>
> On Thu, Nov 8, 2012 at 8:05 AM, Amir Kasaeian <[email protected]> wrote:
>>
>> Dear Statalist,
>>
>>
>> Could you please let me know how can I export variable labels of a Stata data file to an excel worksheet?
>> Thanks your help in advance.
>>
>> best,
>> Amir
>>
>> *
>> * 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/
>
> *
> * 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/