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
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Fw: Exporting variable labels to an excel worksheet
Date
Thu, 8 Nov 2012 16:29:10 +0000
Steve is completely correct. That said, I would recommend a different
extension here, say .txt or .csv rather than .xls.
Nick
On Thu, Nov 8, 2012 at 4:21 PM, Steve Nakoneshny <[email protected]> wrote:
> 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.
*
* 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/