This is the first in a series of demonstrations that I will be 
posting on OLE Automation from Access.

Please post your comments and question in Section 10 - Interop/OLE/DDE
of the MSACCESS forum on Compuserve.

I will be supporting this example through that forum.

You can take any of the ideas designed in this file and do
whatever you want with it.  But please include all the files
that it originally came with if you pass this example on to others.
Some files may be crucial to how well the example works.

How to use this file:
Keep the WORDAUTO.MDB and the INSTEXT.TXT files in the same directory.
Change to that directory in Access and Open the WORDAUTO.MDB.  Access
should take over from there.  The example requires the Employees table
from NWIND.MDB.

The two import Functions are pretty well documented:
Sub SetupWordTemplate ()  from the "Word OLE Setup Module"
Sub MergeIt_Click () from the "Employees Form" Merge it button.

I might be willing to write up more on them later.  But remember these are
samples to get you going.  I can show you how they work, but modifying them
for your own purposes is up to you.

If you are going to be doing OLE Automation with Word I recommend
that you purchase the Word Developers Kit.  It contains documentation on
all the Word Basic commands and a good introduction to OLE Automation
on Pages 174-182.

Thanks,
Gary Yukish
Microsoft PSS - Access
CIS: 72662,1616
