Documentazione HotXLS

Delete metodo

Deletes a cell o a range of cells from the Worksheet

Sintassi

funzione Delete(Shift: OleVariant): OleVariant;
Shift OleVariant. Specifica how to shift cells to replace deleted cells. Can be one of the following XlDeleteShiftDirection constants: xlShiftToLeft o xlShiftUp

Esempio

This example deletes row 3 from sheet one

Workbook.Sheets[1].Range['A3', 'A3'].EntireRow.Delete(xlShiftUp);