Spread Silverlight Documentation
MoveTo Method (Workbook)


The source sheet.
The source row.
The source column.
The target sheet.
The target row.
The target column.
The row count.
The column count.
The copy option.
Moves data from one range to another.
Syntax
'Declaration
 
Public Shared Sub MoveTo( _
   ByVal source As Worksheet, _
   ByVal sourceRow As System.Integer, _
   ByVal sourceColumn As System.Integer, _
   ByVal dest As Worksheet, _
   ByVal destRow As System.Integer, _
   ByVal destColumn As System.Integer, _
   ByVal rowCount As System.Integer, _
   ByVal columnCount As System.Integer, _
   ByVal copyOption As CopyToOption _
) 
'Usage
 
Dim source As Worksheet
Dim sourceRow As System.Integer
Dim sourceColumn As System.Integer
Dim dest As Worksheet
Dim destRow As System.Integer
Dim destColumn As System.Integer
Dim rowCount As System.Integer
Dim columnCount As System.Integer
Dim copyOption As CopyToOption
 
Workbook.MoveTo(source, sourceRow, sourceColumn, dest, destRow, destColumn, rowCount, columnCount, copyOption)
public static void MoveTo( 
   Worksheet source,
   System.int sourceRow,
   System.int sourceColumn,
   Worksheet dest,
   System.int destRow,
   System.int destColumn,
   System.int rowCount,
   System.int columnCount,
   CopyToOption copyOption
)

Parameters

source
The source sheet.
sourceRow
The source row.
sourceColumn
The source column.
dest
The target sheet.
destRow
The target row.
destColumn
The target column.
rowCount
The row count.
columnCount
The column count.
copyOption
The copy option.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Workbook Class
Workbook Members

 

 


Copyright © GrapeCity, inc. All rights reserved.