Autor Beitrag
lexmy3
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

WIN 2000 Prof. + Office 2000
Delphi 5 Enterprise
BeitragVerfasst: Do 12.01.06 16:36 
Hey Leute,

Ich erstelle ein SerienBrief, welchen ich steuern möchte und daten aus meinem Prog. übergeben möchte.

Wie rufe ich nur ein bestimmtes WORD_Dokument auf?? d.h. dieser ist statisch!!!


mfg

lexmy3
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Fr 13.01.06 14:12 
Hallo

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
Var Ole_Dateiname:olevariant;
   ole_Dateiname:=Pfad+Dateiname.doc;
   WordApplication1.Documents.open(Ole_Dateiname,
                                   Emptyparam,Emptyparam,Emptyparam,Emptyparam,
                                   Emptyparam,Emptyparam,Emptyparam,Emptyparam,
                                   Emptyparam,Emptyparam,Emptyparam);
   bzw. 
  WordDocument1.ConnectTo(WordApplication1.Documents.open(...));


steht aber sicherlich auch zigmal im Forum

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)