Word merge document automation

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?
 
R

Rob Oldfield

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top