HotXLS 文档

Cells 属性

返回 a IXLSRange 对象,表示工作表上的全部单元格(不只是当前使用的单元格)。只读

语法

property Cells: IXLSRange;

示例

This example sets the font size for cell A3 on first sheet to 10 pointers

Workbook.Sheets[1].Cells.Item[1,3].Font.Size := 10;
此示例把第一个工作表上每个单元格的字体和字号设为 11 磅 Arial

With Workbook.Sheets[1].Cells.Font do
begin
  Name := 'Arial';
  Size := 11;
end;