Using putexcel in a loop, I am trying to add data across columns. I understand how to post data down rows. My syntax was:
local row 5
foreach var of varlist *_high{
sum `var'
putexcel set "column.xls", sheet("summary")modify
local high = r(sum)
local high : display %9.0f `high'
putexcel H`row'=(`high')
local row=`row' +1
}
How can I have the data put into A1 B1 C1 etc
Thanks