PDF Conversion Issues

How to Exclude Document Properties by Default When Saving Word as PDF

Bushra ParveenBushra Parveen Oct 28, 2026 869 views

Question details

The user wants to permanently uncheck the 'Document Properties' option by default when exporting or saving a Microsoft Word document as a PDF.

How to Exclude Document Properties by Default When Saving Word as PDF
Product
Microsoft Word
Device & OS
not provided
Scenario
Exporting a Word document to a PDF file without embedding metadata such as the document title.
Observed behavior
By default, Word includes document properties when saving as a PDF, causing many PDF readers to display the document's Title metadata in the window tab instead of the actual file name.
Before you start

Ensure you have saved your current Word document and enabled the Developer tab in your Microsoft Word ribbon to access the Visual Basic for Applications (VBA) editor.

Solution 1Recommended

Use a VBA Macro to Export PDF without Document Properties

Since Microsoft Word does not provide a built-in toggle to permanently uncheck document properties for PDF exports across sessions, using a custom VBA macro ensures the 'IncludeDocProps' setting is always forced to False.

This macro utilizes the ExportAsFixedFormat method. It automatically captures your current file name, sets the export format to PDF, and disables the inclusion of document properties, ensuring the resulting PDF uses the file name rather than the title metadata.

1
Open the VBA Editor

Press Alt + F11 on your keyboard to open the Microsoft Visual Basic for Applications (VBA) editor.

2
Insert a New Module

Click on 'Insert' in the top menu bar of the VBA editor and select 'Module' to create a blank workspace for your macro code.

3
Paste the Export Macro

Copy and paste the following code into the module window: Sub PDFFileNameNotTitle() 'Export PDF document using the file name rather than the title Dim strFileName As String With ActiveDocument strFileName = Left(.FullName, InStrRev(.FullName, ".") - 1) .ExportAsFixedFormat OutputFileName:=strFileName, _ ExportFormat:=wdExportFormatPDF, _ OpenAfterExport:=True, OptimizeFor:=wdExportOptimizeForPrint, _ Range:=wdExportAllDocument, From:=1, To:=1, _ Item:=wdExportDocumentContent, IncludeDocProps:=False, _ KeepIRM:=True, CreateBookmarks:=wdExportCreateNoBookmarks, _ DocStructureTags:=True, BitmapMissingFonts:=True, _ UseISO19005_1:=False End With End Sub

4
Run the Macro

Press F5 or click the 'Run' button (the green play icon) on the toolbar. Your Word document will be instantly exported and saved as a PDF in the same directory, completely free of embedded document properties.

Use a VBA Macro to Export PDF without Document Properties
Automation Tip: You can add this macro to your Quick Access Toolbar in Word. Go to File > Options > Quick Access Toolbar, select 'Macros' from the 'Choose commands from' dropdown, and add 'PDFFileNameNotTitle' for one-click PDF exports.
Free Microsoft Office alternative

Easily Manage PDF Exports with WPS Office

If you find Microsoft Word's default save settings rigid and VBA macros too complex to maintain, try WPS Office. It provides a lightweight, free alternative with an intuitive built-in PDF export tool that gives you clear, upfront control over metadata and formatting without writing any code.

  1. 1. Open your Document in WPS Office: Launch WPS Office Writer and open your existing Word document.
  2. 2. Select Export to PDF: Click on the 'Menu' button in the top left corner and select 'Export to PDF'.
  3. 3. Customize and Export: Adjust your preferred export settings in the prompt dialog and click 'Export'. WPS handles the conversion smoothly without needing macros.
Highly compatible with Microsoft Word document formats (.doc, .docx).Free and lightweight Microsoft Office alternative.Built-in, intuitive 'Export to PDF' tool with easy metadata controls.Familiar user interface for a seamless, zero-learning-curve transition.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my saved PDF display the document title instead of the file name?

When you save a Word document as a PDF with the 'Document Properties' option enabled, metadata such as the 'Title' field is embedded in the PDF. Most modern PDF readers prioritize displaying this embedded title in the window tab rather than the actual file name.

Can I permanently uncheck 'Document Properties' in Word's Save As dialog without code?

No, Microsoft Word currently resets the 'Document Properties' option in the 'Save As PDF' Options menu every time you restart the application. To bypass this default behavior permanently, you must use a VBA macro.

How can I remove document properties manually before saving?

If you prefer not to use a macro, you can clear the properties manually. Go to File > Info, click on 'Check for Issues', and select 'Inspect Document'. Run the inspector and click 'Remove All' next to 'Document Properties and Personal Information' before exporting your PDF.