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

Inserts and copies sheet "CopyFromShet", SheetCount times before InsertBeforeSheet. To insert empty sheets, set CopyFromSheet=0.

Pascal
procedure InsertAndCopySheets(const CopyFromSheet: integer; const InsertBeforeSheet: integer; const SheetCount: integer);
C++
__fastcall InsertAndCopySheets(const int CopyFromSheet, const int InsertBeforeSheet, const int SheetCount);
Parameters 
Description 
const CopyFromSheet: integer 
The sheet index of the sheet we are copying from (1 based). Set it to 0 to insert Empty sheets. 
const InsertBeforeSheet: integer 
The sheet before which we will insert (1 based) 
const SheetCount: integer 
The number of sheets to insert. 
Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!