AIBMass
asked on
How to Paste a Table with Word Automation
I am doing Word (2003) automation. In my app, I have two documents open. Doc1 contains this string: **SOURCEINFO**.
Doc2 is a document that contains formatted text and multiple tables.
I want to replace the string **SOURCEINFO** in Doc1 with the entirety of Doc2.
Can you show me the best way that preserves all the formatting in Doc2?
Doc2 is a document that contains formatted text and multiple tables.
I want to replace the string **SOURCEINFO** in Doc1 with the entirety of Doc2.
Can you show me the best way that preserves all the formatting in Doc2?
ASKER
I am talking about Office automation in VB.Net
Dim Word as application, etc.....
Dim Word as application, etc.....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or you could always use the INCLUDETEXT field code....
http://daiya.mvps.org/includetext.htm