Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / WorksheetCollection Class / Move Method / Move(String,Worksheet) Method
The name of the Worksheet that will be moved.
The Worksheet that is currently located where the selected Worksheet will be moved.


In This Topic
    Move(String,Worksheet) Method
    In This Topic
    Moves a Worksheet into a WorksheetCollection using a string to identify the Worksheet to move & a specific Worksheet as the insertion point.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Move( _
       ByVal sourceWorksheetName As String, _
       ByVal destinationWorksheet As Worksheet _
    ) 
    'Usage
     
    
    Dim instance As WorksheetCollection
    Dim sourceWorksheetName As String
    Dim destinationWorksheet As Worksheet
     
    instance.Move(sourceWorksheetName, destinationWorksheet)

    Parameters

    sourceWorksheetName
    The name of the Worksheet that will be moved.
    destinationWorksheet
    The Worksheet that is currently located where the selected Worksheet will be moved.
    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