I'd like to kwon how to programm (in VBA) to open two Word documents and to copy their text into a third one. It doesn't seem that hard to do but... I have some difficulties.
Printable View
I'd like to kwon how to programm (in VBA) to open two Word documents and to copy their text into a third one. It doesn't seem that hard to do but... I have some difficulties.
Well, you would do something similar to this.
Where Doc1 is your first document and Doc2 is your second.Code:Sub Combine()
Set NewDoc = Word.Documents.Add
NewDoc.Content = Doc1.Content & Doc2.Content
Set NewDoc = Nothing
End Sub
Thank U. It helps me quit a lot !