Xceed Workbooks for .NET v1.4 Documentation
Insert(Worksheet,String) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > WorksheetCollection Class > Insert Method : Insert(Worksheet,String) Method
The Worksheet that is currently located where the new Worksheet will be placed.
The Name of the Worksheet that will be added.
Uses a specific Worksheet as the target location.
Syntax
'Declaration

 

Public Overloads Function Insert( _

   ByVal destinationWorksheet As Worksheet, _

   Optional ByVal worksheetName As String _

) As Worksheet
'Usage

 

Dim instance As WorksheetCollection

Dim destinationWorksheet As Worksheet

Dim worksheetName As String

Dim value As Worksheet

 

value = instance.Insert(destinationWorksheet, worksheetName)

Parameters

destinationWorksheet
The Worksheet that is currently located where the new Worksheet will be placed.
worksheetName
The Name of the Worksheet that will be added.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorksheetCollection Class
WorksheetCollection Members
Overload List