Xceed Workbooks for .NET v1.4 Documentation
Move(WorksheetRange,Int32) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > WorksheetCollection Class > Move Method : Move(WorksheetRange,Int32) Method
The WorksheetRange that will be moved.
The Id of the Worksheet that is currently located where the selected WorksheetRange will be moved.
Moves a WorksheetRange into a WorksheetCollection using an Id to determine the insertion point.
Syntax
'Declaration

 

Public Overloads Sub Move( _

   ByVal sourceWorksheetRange As WorksheetRange, _

   ByVal destinationWorksheetIndex As Integer _

) 
'Usage

 

Dim instance As WorksheetCollection

Dim sourceWorksheetRange As WorksheetRange

Dim destinationWorksheetIndex As Integer

 

instance.Move(sourceWorksheetRange, destinationWorksheetIndex)

Parameters

sourceWorksheetRange
The WorksheetRange that will be moved.
destinationWorksheetIndex
The Id of the Worksheet that is currently located where the selected WorksheetRange 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