Code: Alles auswählen.
GET PROPERTY OF application 'ACTIVESHEET' = worksheet.
CALL METHOD OF worksheet 'Cells' = h_cell
EXPORTING #1 = i_begin_row #2 = i_begin_col.
CALL METHOD OF worksheet 'Cells' = h_cell1
EXPORTING #1 = i_end_row #2 = i_end_col.
CALL METHOD OF worksheet 'RANGE' = range
EXPORTING #1 = h_cell #2 = h_cell1.
" Autofilter deaktivieren
CALL METHOD OF range 'AutoFilter'.
.
.
.
" DisplayAlerts deaktivieren --> kein Prompt zum Speichern
SET PROPERTY OF application 'DisplayAlerts' = 0.
m_message.
CALL METHOD OF application 'QUIT'.
m_message.
" DisplayAlerts wieder aktivieren
SET PROPERTY OF application 'DisplayAlerts' = 1.
m_message.