Thema: Delphi Excel Word SpeicherPfad

Einzelnen Beitrag anzeigen

HendrikM

Registriert seit: 30. Aug 2005
Ort: Berlin
49 Beiträge
 
#5

Re: Excel Word SpeicherPfad

  Alt 17. Nov 2005, 08:05
Also ich mach das immer so:
ExcelApplication.Open(const Filename: WideString; UpdateLinks: OleVariant; ReadOnly: OleVariant;
Format: OleVariant; Password: OleVariant; WriteResPassword: OleVariant;
IgnoreReadOnlyRecommended: OleVariant; Origin: OleVariant;
Delimiter: OleVariant; Editable: OleVariant; Notify: OleVariant;
Converter: OleVariant; AddToMru: OleVariant; Local: OleVariant;
CorruptLoad: OleVariant; lcid: Integer): ExcelWorkbook; safecall;
Das Open liefert dir dann das Workbook - Objekt zurück.
Als erstes gibst Du Dein Verzeichnis und den Dateinamen an.
Der letzte Parameter darf nicht 'EmptyParam' sein, sondern sollte:
Mylcid := LOCALE_USER_DEFAULT; gesetzt werden.
Hendrik
  Mit Zitat antworten Zitat