Hello everyone,
I would like to increase the column width in Excel when exporting results via "putexcel". I haven't found this in the options.
A little piece of code:
Any help would be appreciated - many thanks in advance!
Boris
I would like to increase the column width in Excel when exporting results via "putexcel". I haven't found this in the options.
A little piece of code:
Code:
sysuse auto, clear rename foreign foreign_has_a_long_name reg price mpg weight foreign_has_a_long_name mat res = r(table)' mat res = res[1...,1..4] matlist res putexcel set testfile.xlsx, sheet("T1") replace putexcel A1=matrix(res), names
Boris
Comment