返回 the BIFF8 Tables (Excel ListObjects) collection attached to this worksheet. Each entry is a
TXLSTable 对象,覆盖一个带内置样式和内嵌自动筛选的命名结构化引用区域。只读。(v2.33.0 起可用)
语法
备注
表以 FEATHEADR11 / FEAT11 / LIST12 记录组的形式写入 BIFF8 工作表流中紧靠 EOF 之前的位置,且仅当文件格式为 BIFF8(xlExcel97)。FEAT11 负载携带表的 AutoFilter 元数据,LIST12 则使用 MS-XLS List12TableStyleClientInfo 布局。不含表的工作簿保存行为与之前完全一致。读取器在加载时(v2.33.1+)填充同一集合,因此往返后表的范围、名称、显示名称、样式和镶边行标志都会保留
Use
AddTable as the most common entry point rather than calling
Tables.Add directly. Tables ids (1..N per sheet) are assigned at save time if not pre-set
示例
This example iterates the tables on the active sheet
var
i: Integer;
begin
for i := 0 to Sheet.Tables.Count - 1 do
Writeln(Sheet.Tables[i].Name, ' ', Sheet.Tables[i].Range);
end;
请参阅