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.