HotXLS-documentatie

Insert methode

Voegt een cel of een bereik met cellen in het werkblad in en schuift andere cellen weg om ruimte te maken

Syntaxis

functie Insert(Shift: OleVariant): OleVariant;
Shift OleVariant. Specificeert which way to shift the cells. Can be one of the following XlInsertShiftDirection constants: xlShiftToRight of xlShiftDown

Voorbeeld

This example inserts a new row before row 3

Workbook.Sheets[1].Range['A3', 'A3'].EntireRow.Insert(xlShiftDown);