Xceed Workbooks for .NET v2.0 Documentation
Move(Int32,String) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > WorksheetCollection Class > Move Method : Move(Int32,String) Method
The index corresponding to the Worksheet that will be moved.
The name of the Worksheet that is currently located where the selected Worksheet will be moved.
Moves a Worksheet into a WorksheetCollection using an Id to identify the Worksheet to move & the name of a Worksheet to determine the insertion point.
Syntax
'Declaration
 
Public Overloads Sub Move( _
   ByVal sourceWorksheetIndex As Integer, _
   ByVal destinationWorksheetName As String _
) 
'Usage
 
Dim instance As WorksheetCollection
Dim sourceWorksheetIndex As Integer
Dim destinationWorksheetName As String
 
instance.Move(sourceWorksheetIndex, destinationWorksheetName)

Parameters

sourceWorksheetIndex
The index corresponding to the Worksheet that will be moved.
destinationWorksheetName
The name of 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

Reference

WorksheetCollection Class
WorksheetCollection Members
Overload List