View Single Post
 
Old 05-01-2019, 04:28 AM
DM2 DM2 is offline Windows 7 64bit Office 2010
Novice
 
Join Date: Apr 2019
Posts: 5
DM2 is on a distinguished road
Default

Quote:
If the aim is to add the filename to the footer then you can get the name of the document (not the PDF file) with
Graham...The aim is to place the output file name in the footer. Based on your comment it doesn't appear as the addin can add the field that holds the output file name (<<filename>>) to the output PDF.

I noticed that when the <<filename>> field is in the body of the mail merge document, the macro you provided, does it's job on the output word document. I also noted that if the <<filename>> is placed in the footer, the macro does NOT add the file name to the output word document.

In both cases the <<filename>> doesn't make it to the PDF as you mentioned.
Reply With Quote