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

Deletes the active sheet and SheetCount-1 sheets more to the right.

Pascal
procedure DeleteSheet(aSheetCount: integer);
C++
__fastcall DeleteSheet(int aSheetCount);
Parameters 
Description 
aSheetCount: integer 
Number of sheets to delete. 

This method will change all formula references to the deleted sheets to invalid. 

If you just want to clear the contents of the sheet but leave it in place, use ClearSheet.

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