Example
The following example moves a block of cells from one location to another.
C++
// Move cells from (B3) to (B7) to (E3)
m_Spread1.MoveRange(2, 3, 2, 7, 5, 3);
Visual Basic
' Move cells from (B3) to (B7) to (E3)
fpSpread1.MoveRange 2, 3, 2, 7, 5, 3