The code from post #30 is really just another way of getting much the same result as you'd get from a Directory merge - the same header & footer throughout the document. The only difference is that there's a paragraph break between the record tables. Conversely, with two paragraph breaks after the table instead of one in the mailmerge main document, a Directory merge's output would be the same.
The alternate code in post #44, when used with a Letter merge, lets you have a separate header & footer for each record but with continuous page numbering.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|