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

Closes an open Excel Workbook.

Pascal
procedure CloseFile;
C++
__fastcall CloseFile();

Use this when you are done editing the file. It's not really necessary to use it, as the open file will be closed when you destroy the module or open another file, but might help to save resources. 

Remember, FlexCelImport keeps the entire workbook on memory, so if you are done using it, you should free the memory.

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