Quantcast
Channel: The Stata Blog - Latest Comments
Viewing all articles
Browse latest Browse all 1125

Re: Export tabulation results to Excel—Update

$
0
0

Hi, I would like to put several tables into one word document. The first one works fine but when I try to make the second one I get the following error:

(note: table t1 has been redefined)
expression must be enclosed in ()
invalid syntax

My code is:

putdocx begin
putdocx paragraph
tab2docx (htxfu_death_code_1)
putdocx paragraph
tab2docx (htx_fu_code_1_cv)
putdocx save test2, replace

Is it possible? Can anyone please help me to adjust the code.
Thanks,
Oscar


Viewing all articles
Browse latest Browse all 1125

Trending Articles