W
wader
Unregistered / Unconfirmed
GUEST, unregistred user!
Excel文件中有一些sheet是隐含不可见的,我需要把可见的sheet都找出来。
for j := 1 to ExcelWorkBook1.Worksheets.count do
//Error:下面的visible属性到底怎么操作??请指点一下。表示“可见"的TOleEnum值是什么?
if (ExcelWorkBook1.Worksheets.Item[j] as _WorkSheet).Visible[?] = True
then begin
//...
end;
for j := 1 to ExcelWorkBook1.Worksheets.count do
//Error:下面的visible属性到底怎么操作??请指点一下。表示“可见"的TOleEnum值是什么?
if (ExcelWorkBook1.Worksheets.Item[j] as _WorkSheet).Visible[?] = True
then begin
//...
end;