Mandy,
Save the output in a log file.
. set more off
. sysuse auto
. log using codebook.txt, text
. codebook
. log close
Friedrich
On Thu, Aug 14, 2008 at 11:35 AM, Man Jia <[email protected]> wrote:
>
> Hi all,
>
> I was wondering if anyone could help me with a simple question how to
> save the result of codebook command in a word or txt document.
>
> That is, I use the command --codebook--to get the codebook for all the
> variables. I like to save the result in a word document. I know I could
> copy and past from the result window. But for a large data set this
> takes long time. So I was wondering if there's simple way to do
> this,like--outreg--for --reg--result.
>
> Thanks!
> Mandy jia
*
* 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/