Hi Chuck - Thanks for the great information. I have a problem to get the results of putexcel in columns (i.e. using colwise option). Here is the example command that I have for STATA 13:
tabstat Lectured, statistics(count sum mean min p25 p50 p75 max) save
putexcel A1=matrix(r(StatTotal), names) using test.xlsx", sheet("Results") colwise replace
I don't understand why still the results that I get in excel are in one column. Could you please help me why colwise does not work?!