I was having the same problem today...
If you labeled the values, then when outsheeting STATA will outsheet the
labels, not the original values.
The command is
. outsheet using <filename>, replace nolabel
Hope this solves your problem.
Charles Thibault
www.corzen.com
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ulrich Kohler
Sent: Thursday, January 12, 2006 3:20 AM
To: [email protected]
Subject: Re: st: saving .dta files with codes replacing numbers
Wolfgang Polasek wrote:
> When I save the data for exporting it into Excel I get the numerical
> codes and not the string variables as I see them in the data editor.
>
> What should I do to get the the string variables in a spread sheet?
. outsheet using <filename>
--
[email protected]
+49 (030) 25491-361
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/