Dear All
Looping through rows in putexcel is straightforward (local counter which is increased with, eg, ++localName). I wonder if anyone has an idea how to do the same thing with the column -- loop to C & D, etc from A and B?
Regards
Laurence
Looping through rows in putexcel is straightforward (local counter which is increased with, eg, ++localName). I wonder if anyone has an idea how to do the same thing with the column -- loop to C & D, etc from A and B?
Code:
... set things up ... matrix b=r(table) local a=b[1,1] local b=b[2,1] putexcel A`row'=(`a') B`row'=(`b') local ++row ...continue with loop ...
Regards
Laurence
Comment