There is already a good way to "export" tabular data. In Stata 7, the "Copy
table" option was introduced. It copies a table from the Stata output screen
onto the clipboard, intelligently removing the lines and inserting tabs
between the table cells. In essence, it becomes a table in tab-delimited
format, which is easily pasted into any spreadsheet. It doesn't work that
well with Word, but that is because Word (well, Word 97 anyway) uses a
non-standard table format and doesn't seem to recognize standard
tab-delimited format. You can't blame Stata for MS Word's shortcomings.
Regardless, if you really want to get a table from Stata into MS Word, you
can first go through a spreadsheet.
Lee
Lee Sieswerda, Epidemiologist
Thunder Bay District Health Unit
999 Balmoral Street
Thunder Bay, Ontario
Canada P7B 6E7
Tel: +1 (807) 625-5957
Fax: +1 (807) 623-2369
[email protected]
www.tbdhu.com
> -----Original Message-----
> From: Wendell Joice [SMTP:[email protected]]
> Sent: Friday, January 17, 2003 12:56 PM
> To: [email protected]
> Subject: st: New ways to export tables from tabulate, etc.??
>
> This topic has been discussed before but with the advent of version 8 , I
> was wondering if there is anything new in version 8 or elsewhere that will
> facilitate exporting output (tables) from stata commands such as tabulate,
> table, etc. to spreadsheets (Excel...) or word processors (Word...). I am
> not referring to simply exporting the graphic image of a table but
> actually
> exporting the tabular data into the table application of a spreadsheet or
> word processor, so that you can edit/manipulate the data in the
> spreadsheet/processor.
>
>
>
> *
> * 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/