Code: Alles auswählen.
CALL METHOD OF l_excel 'Range' = l_range
EXPORTING #1 = 'G2:H2'.
CALL METHOD OF l_range 'Select'.
CALL METHOD OF l_excel 'Selection' = l_selection.
SET PROPERTY OF l_selection 'MergeCells' = -1.
Hallo zzcpak,zzcpak hat geschrieben:probier mal das. Mit SET PROPERTY funktionierts.
Code: Alles auswählen.
CALL METHOD OF l_excel 'Range' = l_range EXPORTING #1 = 'G2:H2'. CALL METHOD OF l_range 'Select'. CALL METHOD OF l_excel 'Selection' = l_selection. SET PROPERTY OF l_selection 'MergeCells' = -1.