Expand Minimize

XlCellInsertionMode Enumeration

Specifies the way rows on the specified worksheet are added or deleted to accommodate the number of rows in a recordset returned by a query.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public enum XlCellInsertionMode

Member nameDescription
xlOverwriteCellsNo new cells or rows are added to the worksheet. Data in surrounding cells is overwritten to accommodate any overflow.
xlInsertDeleteCellsPartial rows are inserted or deleted to match the exact number of rows required for the new recordset.
xlInsertEntireRowsEntire rows are inserted, if necessary, to accommodate any overflow. No cells or rows are deleted from the worksheet.

Community Additions

ADD
Show:
© 2014 Microsoft