Spreadsheet Integrator - Online Help
Available for:
Spreadsheet Integrator
Questions / Feedback?

InsertSheet Method

Inserts a sheet at the specified index.

Syntax

[VB.NET]
Public Sub InsertSheet(ByVal SheetIndex As Integer)
[C#]
public void InsertSheet(int sheetIndex);

Remarks

This method inserts a sheet at the specified SheetIndex. The SheetIndex parameter is 0-based. Valid values for SheetIndex are from 0 to SheetCount. When inserting a sheet, the existing sheets will be shifted to the right. For instance to insert a sheet after the first sheet:

Exceldoc1.InsertSheet(1);

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0