Dokument speichern
-
hallo,
weiß jemand wie das in C++ geht?'--- DAS NEUE DOKUMENT SPEICHERN, DANN VERBINDUNG ZU WORD ABBAUEN --- BerichtName = BERICHT_PFAD + AktVName + ".DOC" If Word.ActiveDocument.Saved = False Then Word.ActiveDocument.SaveAs FileName:=BerichtName, _ FileFormat:=wdFormatDocument End If Set Word = Nothing
besten danke
-
habs glaub gefunden
http://www.a-m-i.de/tips/office/officeautomation.php#cppexample_word
-
mh, bei mir geht das irgendwie nicht, ( die If- ANweisung "Suchen und Ersetzen" klappt nicht, bzw. in meinem Word passiert nichts)
Hat jemand Lust das mal auszuprobieren ? danke