Table of Contents

TTMSFNCDataGridExcelIO.LoadSheetNames Method

Populates SheetNames and SheetNamesCount by opening the file and reading all worksheet names without importing data.

API unit family: TMSFNCDataGridExcelIO Declaring type: TTMSFNCDataGridExcelIO

Syntax

procedure LoadSheetNames(const FileName: string);

Parameters

Name Description
FileName Path of the XLS or XLSX file whose worksheet names are read.