L
lihan
Unregistered / Unconfirmed
GUEST, unregistred user!
为什么我执行
a:='c:/dr.xls';
excelapplication1.Connect;
excelapplication1.Visible[0]:=true;
excelapplication1.Caption:='测试';
excelapplication1.Workbooks.Open(a,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,0);
excelapplication1.Cells[1,1].value:='aa'
出现如下错误,要怎么办?
[Error] excle.pas(58): Class does not have a default property
a:='c:/dr.xls';
excelapplication1.Connect;
excelapplication1.Visible[0]:=true;
excelapplication1.Caption:='测试';
excelapplication1.Workbooks.Open(a,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,0);
excelapplication1.Cells[1,1].value:='aa'
出现如下错误,要怎么办?
[Error] excle.pas(58): Class does not have a default property