Hallo, wollte folgenden Quellcode ausführen, bekomme aber eine Fehlermeldung.
Delphi-Quellcode:
var
excel : Variant;
Begin
OpenDialog1.Execute();
excel:=CreateOleObject('Excel.Application');
Zitat:
CreateOleObject = undef. Bezeichner
das ist meine uses:
Delphi-Quellcode:
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Borland.Vcl.Db, Borland.Vcl.ADODB, System.ComponentModel,
Borland.Vcl.StdCtrls, Borland.Vcl.Grids, Borland.Vcl.DBGrids, System.Reflection, ShellApi, Borland.Vcl.ComObj ;
Früher stand mal createoleobject in ComObj, aber nun nicht mehr. Weiß jemand Rat? thx, cu