Word merge document automation

  • Thread starter Thread starter Rob Oldfield
  • Start date Start date
R

Rob Oldfield

Any Word automation gurus out there?

I would like to grab the output of a Word merge and split each page off into
a separate document (so that I can push them into folders relevant to each
recipient). My thought is that I should be looping through the document,
selecting section 1, 2, 3...., copying off into a new file, saving that and
then moving on to the next section. I can't figure out how to get the loop
to work.

Any ideas?
 
Why is it that you always figure out the answer for yourself just after
you've posted a ng message?

dim sec as word.section
for each sec in wrdapp.activedocument.sections
 
Back
Top