Hi,
I'm fairly new to Stata and I'm having some issues exporting command output to excel.
As far as I understand, there is a difference in how output from commands and functions are stored and this also means that the way to export to Excel using putexcel differs.
So far I'm only able to generate the lists:
sort year
by year: missings report
return list
which gives me
scalars:
r(N) = 1883274
macros: r(varlist)) : "variable1_variable2_"
How can I use putexcel to get this list into Excel?
Thanks!
I'm fairly new to Stata and I'm having some issues exporting command output to excel.
As far as I understand, there is a difference in how output from commands and functions are stored and this also means that the way to export to Excel using putexcel differs.
So far I'm only able to generate the lists:
sort year
by year: missings report
return list
which gives me
scalars:
r(N) = 1883274
macros: r(varlist)) : "variable1_variable2_"
How can I use putexcel to get this list into Excel?
Thanks!

Comment