Skip to main content
Participating Frequently
May 21, 2025
Question

Adobe MS Word PDFMaker Office COM add-in output customization

  • May 21, 2025
  • 1 reply
  • 395 views

It has a static numbering method in name generation.

 

 

I can change "PDFMailer", but the sequence numbers will look:

 

 

As I can see there is no option in Acrobat ribbon's Preferences to change this.

 

1 reply

Community Manager
May 21, 2025

Hi @7402662_2770, 

 

Thank you for reaching out. I assume you are looking for a solution to generate dynamic names for the resulting PDFs. 

As you have already figured out, this is not quite possible with a built-in option in PDFMaker preferences. 

 

However, you may try the workaround:

 

Use Action Wizard in Acrobat Pro (Post-export rename):

If you’re merging files later in Acrobat Pro, you can:

  • Use the Action Wizard to rename the merged PDF based on metadata or batch input.

  • Combine that with a naming scheme defined in a spreadsheet or watched folder.

 

I have seen users working with Macros, not suggested by Adobe.
Disclaimer - there is no official support for the script or Macro from Adobe. 

 

Use Word Macros + PDFMaker:

You can write a VBA macro in Word to:

  1. Extract the content you want for the file name (like a title or date).
  2. Save the Word document as a PDF using a custom name.
  3. Optionally merge other PDFs using Acrobat COM objects (if needed).

 

Example VBA Script:

Sub ExportPDFWithDynamicName()

    Dim pdfName As String

    pdfName = ActiveDocument.BuiltInDocumentProperties("Title") & "_" & Format(Date, "yyyymmdd") & ".pdf"

    

    ' Export to PDF using PDFMaker (Adobe Acrobat)

    ActiveDocument.ExportAsFixedFormat OutputFileName:="C:\PDFs\" & pdfName, _

        ExportFormat:=wdExportFormatPDF

End Sub

 

Note: Macro can work when Acrobat is installed. 
 


~Tariq

adam_2770Author
Participating Frequently
May 21, 2025

Acrobat is installed.

 

File names are still being generated as written above. They should be 1.pdf, 2.pdf, 3.pdf etc.

Can you share a post-export renaming AW js sub that renames the merged PDF files based on metadata automatically?

E.g. auto rename PDFMailer1121.pdf to 1.pdf, and so on