我在WIN98下调用excel97时,出现错误,代码:
    Fexcelobj := createoleobject('excel.sheet');
    Fexcel := Fexcelobj.application;
    Fworkbook := Fexcel.workbooks.add;
    Fsheet := Fworkbook.sheets[1];
    FVisible := Visible;
    FSheet.activate;
    FDataSet := Value;
但在WIN2000下没有错,请各位。