Hi,
I am merging cell using the following commands through Stata. However, the A1:A2 cells are left unmerged when the do file completes. Here is the code.
A picture of the merged cells is also given here.
Can anyone guide me why A1:A2 are left unmerged, though it should have just like the other cells.
Thank
I am merging cell using the following commands through Stata. However, the A1:A2 cells are left unmerged when the do file completes. Here is the code.
Code:
// generate the excel sheet putexcel set "C:\abc\xyz\Analysis.xlsx",sheet(Analysis,replace) replace // Merge column putexcel (A1:A2), merge putexcel (B1:B2), merge putexcel (C1:C2),merge putexcel (D1:F1),merge putexcel (G1:I1),merge putexcel (J1:L1),merge putexcel (M1:Q1),merge putexcel (R1:Y1),merge
Can anyone guide me why A1:A2 are left unmerged, though it should have just like the other cells.
Thank
Comment