Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: How to export variables window?


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: How to export variables window?
Date   Tue, 3 Nov 2009 12:05:39 +0100

<> 

Even more parsimonious:


*************
sysuse auto, clear

log using mylog, name(newlog) replace

foreach var of varlist _all{
 di _col(3) "`var'" _col(20) "`:var label `var''"
}

log close newlog

//translate
translate mylog.smcl mylog.txt, replace
!start mylog.txt
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Ziad El-Khatib
Gesendet: Dienstag, 3. November 2009 11:53
An: [email protected]
Betreff: st: How to export variables window?

Hi! Sorry for using this mailing for this question.
How to export the variables window,i.e. the list of variables and
their labels, into Word or Excel file format?

Best regards
ziad
*
*   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/


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index