The prompt regarding Sections is because the mailmerge main document from which the output records are generated may itself have contained Section breaks (e.g. where some pages are in portrait format, whilst others are in landscape format). Each record will consist of at least one Section - you need to tell Word how many Sections each
record has,
not how many records or pages per record there are.
As the comments relating to that topic say:
Quote:
As coded, it is assumed the output filename consists of the first paragraph in each record.
|
If you're getting 0 output, that suggests your mailmerge main document starts with an empty paragraph - and so do each of the output records - in which case you need to change the '1' in:
Set Rng = .Range.Paragraphs(1).Range
to point to the paragraph that is to be used for the filenames - or you can use the numbered file approach outlined in the topic's comments.