How to merge Word documents programatically?

M

Marshal

I need to know how to merge word documents
programatically (hopefully with VBScript)

Specifically, I need to execute these steps:

1)Open the document into which you want to merge changes.

2)On the Tools menu, click Compare and Merge Documents.

3)Click one of the documents that has changes to be
merged.

4)Click the arrow next to Merge, and then click Merge
into current document.

Repeat steps 2-4 until all copies of the document are
merged.

I'm not really familiar with working with Word
programatically so if anyone knows a site that deals with
that specifically that would help also. Thanks.
 
R

Robin Clay

-----Original Message-----
I need to know how to merge word documents
programatically (hopefully with VBScript)

Specifically, I need to execute these steps:

If you can do the job "manually", then just click on
Tools > Macro > record new macro.

Then do the job manually, and when finished, click on
Tools > macro > Stop recording, and the Macro recorder
will have logged every step.

You can then edit this routine if you wish -
press Alt F11 to enter the VB editor
 
Top