FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.InsertAndCopyRows Method

Copies a range of rows aCount times, inserting it into a new location

Pascal
procedure InsertAndCopyRows(const FirstRow: integer; const LastRow: integer; const DestRow: integer; const aCount: integer);
C++
__fastcall InsertAndCopyRows(const int FirstRow, const int LastRow, const int DestRow, const int aCount);
Parameters 
Description 
const FirstRow: integer 
First row to copy. 
const LastRow: integer 
Last row to copy. 
const DestRow: integer 
Row where the copied cells will be inserted. 
const aCount: integer 
Number of times that the source range will be copied. 

This method is one of the most important on FlexCel API, and it allows you to copy ranges of cells from one place to another, adapting the formulas, images and everything as Excel would do it.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!