This (can be) a big subject so here is just a hint.
You have to reference the word object library in the VBA referemces
which will give you access to the word objects.
I tend to develop the code for controlling the word documnet in word
and then paste it into Excel. I find it easier to test and debug that
way. If I am working with several word documents I either set up the
code for handling these as seperate routines in Excel (so that if I
change the word document the code is clearly recognisable. Or keep the
code in the word document and pass the values over by wetting up
properties.
Without knowing clearly what you are trying to do and your level of
expertise it is difficult to know how to answer this.
regards
--
tony h
------------------------------------------------------------------------
tony h's Profile:
http://www.excelforum.com/member.php...o&userid=21074
View this thread:
http://www.excelforum.com/showthread...hreadid=513121