Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining two Word documents - How?
Message
From
29/01/2002 13:36:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Combining two Word documents - How?
Miscellaneous
Thread ID:
00612320
Message ID:
00612320
Views:
57
How can I take Word document(a) and Word document (b) and put the contents of (B) at the end of the contents of (a) ?

Document (b) has a different header to that in document (a), therefore, there needs to be a section break at the bottom of document (a) and document (b) is then in the new section observing its own header/footer.

I tried to use the subdocuments collection of document (a) and the addfromfile method but, despite following all of the steps, no joy. I kept getting an OLE dispatch error that said the object was a table ? (the two documents are littered with Word tables)

I need to do this and I am struggling for ideas. Any help much appreciated.

Best

-Gary
-=Gary
Next
Reply
Map
View

Click here to load this message in the networking platform