Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / WorksheetCollection Class / Insert Method / Insert(String,String) Method
The Name of the Worksheet that is currently located where the new Worksheet will be placed.
The Name of the Worksheet that will be added.


In This Topic
    Insert(String,String) Method
    In This Topic
    Uses the Name of a Worksheet as the target location.
    Syntax
    'Declaration
     
    
    Public Overloads Function Insert( _
       ByVal destinationWorksheetName As String, _
       Optional ByVal worksheetName As String _
    ) As Worksheet
    'Usage
     
    
    Dim instance As WorksheetCollection
    Dim destinationWorksheetName As String
    Dim worksheetName As String
    Dim value As Worksheet
     
    value = instance.Insert(destinationWorksheetName, worksheetName)

    Parameters

    destinationWorksheetName
    The Name of 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