FORM frm_merge_cells USING sor_cell tar_cell.
CALL METHOD OF excel 'Range' = range
EXPORTING
#1 = sor_cell 'B2
#2 = tar_cell. 'C2
SET PROPERTY OF range 'MergeCells' = 1.
ENDFORM.
FORM frm_merge_cells USING sor_cell tar_cell.
CALL METHOD OF excel 'Range' = range
EXPORTING
#1 = sor_cell 'B2
#2 = tar_cell. 'C2
SET PROPERTY OF range 'MergeCells' = 1.
ENDFORM.