As a Word 2007 file can have its extension changed to .zip and then opened
to reveal a series of individual files, it is probably possible, but it is
not something that I would attempt.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
No, you'll need to open it, add to it, save it and close it. You can do all
that in vba without having to see the document.e.g.
Dim oDoc As Document
Dim strPath As String
strPath = "C:\Path\YourDocument.docx"
Set oDoc = Documents.Open(FileName:=strPath, Visible:=False)
oDoc.Range.InsertAfter "Stuff"
oDoc.Close wdSaveChanges
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP