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.
时间: 2024-11-08 18:54:59
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.