Hallo ich wollte mal versuchen ein Excle-File zu öffnen.
Leider klappt es nicht. Habe Delphi 6 und Winxp
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
| procedure TForm1.Button1Click(Sender: TObject); begin FLCID:=GetUserDefaultLCID; ExcelApplication.Connect; ExcelApplication.Visible[FLCID] := True; ExcelApplication.UserControl := True; ExcelApplication.DisplayAlerts[FLCID]:=False; ExcelApplication.AskToUpdateLinks[FLCID]:=False;
end; |
Es wird angezeigt das FLCID ein undefinierter Bezeichner ist. Vielleicht kann mir ja jemand helfen.
p.s. ExcelApplication ist auf der Form drauf