HotXLS-dokumentation
Indhold
Startside
Oversigt
TGridToXLS
IXLSWorkbook
Startside
Indhold
Oversigt
Insert metode
Indsætter en celle eller et celleområde i regnearket og flytter andre celler væk for at gøre plads
Syntaks
function
Insert(Shift: OleVariant): OleVariant;
Shift
OleVariant. Angiver which way to shift the cells. Can be one of the following XlInsertShiftDirection constants: xlShiftToRight or xlShiftDown
Eksempel
This example inserts a new row before row 3
Workbook.Sheets[
1
].Range[
'A3'
,
'A3'
].EntireRow.Insert(xlShiftDown);