Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

Merge two speacial WORD documents using VBA

$
0
0
I have two WORD documents.  For the sake of discussion, I will call them OTHER.doc and TABLES.doc.  I want to merge them and create MERGED.doc.  TABLES.doc contain tables, but before each table is text that says TABLE x STARTS HERE.  x is 1, 2, 3, etc.  OTHER.doc has all the other text, but every so often, there is a line that says TABLE x GOES HERE.  I'm pretty good at writing VBA WORD macros, but I need a bit of help in knowing which commands to use:  I can find the text, and probably position myself in the first cell of the table, but what is the command to "grab" the whole table.  Also, what is the command to insert it into the merged document?  I hope this is clear enough.  If not, please contact me and I will amplify.  Thanks.  - Ron

Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>