HotXLS Docs

Count 属性

返回区域中的单元格数量。只读 Longword

语法

property Count: Longword;

示例

此示例显示工作表一上选定内容中的单元格数量

MessageDlg('The selection contains ' +
           inttostr(Workbook.Worksheets[1].Selection.Count) + ' cells.',
           mtInformation, [mbOk], 0);