Click or drag to resize

Worksheet Move Method (CellRange, CellRange, Boolean, Boolean)

Moves a range of cells from a source range to a destination range.

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void Move(
	CellRange sourceRange,
	CellRange destRange,
	bool updateReference,
	bool copyStyle
)

Parameters

sourceRange
Type: Spire.Xls CellRange
The range of cells to move.
destRange
Type: Spire.Xls CellRange
The destination range where the cells will be moved.
updateReference
Type: System Boolean
If true, updates formulas and merges in the destination range.
copyStyle
Type: System Boolean
If true, copies the style of the source range to the destination range.
See Also