respected Member, i am facing problem in copying stata result to word file. when i copy a table from stata and paste in word, the structure of the table break down. is there any command or method from where i can export result to word?
also you should mark the table, and right click and select "copy as table" if you haven't already done so. One final point is that copying directly into word might not always be the nicest way of doing it from any program. I find it easier to clean tables up and make it nice in Excel before moving it into Word, however that might just be personal preferences.
Recently I shared my program asdoc on SSC. asdoc can export all types of Stata output o MS Word in form of nicely formatted tables. To install asdoc, type the following on Stata command window: ssc install asdoc After installation, you just need to add asdoc as a prefix to any Stata command. Therefore, if your variables are var1 var2 and var3, the correlation command in Stata is: cor var1 var2 var3 So, with asdoc, the command would be asdoc cor var1 var2 var3 For more details, see this page https://fintechprofessor.com/2018/02/23/use-asdoc-basic-example/
Highlight the table you wish to copy, you may use Ctrl+Shift+C OR go to "edit" and click "copy table". preferably first in excel, use the paste special option and paste as text, that way the structure of the table from Stata is retained and you can make minor adjustments; then you can take it to word.
If you choose to "copy table" and paste in a Word document, change the font type to Courier with font size 9. It will lay it out exactly as it was in STATA result window.