How To Automatically Fill PDF Forms Using Microsoft Excel
You can fill PDF forms with data from Microsoft Excel by matching worksheet columns to PDF field names, exporting the data in a supported format, and importing it with PDF software such as Adobe Acrobat. Excel supplies the records; the PDF application fills the fields.
Which licences fit your PC setup?
Prices are an AUD snapshot, not a live quote. Confirm variant and total on the listing.
-

Office 2021 Pro Plus key
$57.00 AUD
-

Office 2019 Pro Plus key
$45.00 AUD
-

Microsoft 365 Pro Plus, 5 devices
$15.00 AUD
$29.00
Check the PDF and software before preparing your data
Start with a PDF containing interactive form fields. A scanned page or a document with printed blank lines needs form fields added before it can accept imported values. Converting that PDF into an Excel worksheet does not establish a connection back to the original form.
For the workflow below, use desktop Excel and Adobe Acrobat with access to Prepare a form and Import data. Keep an untouched copy of the PDF template and a separate Excel master workbook.
If Office setup is blocking access to your spreadsheet, related guides cover activating Microsoft Office using CMD and finding an Office product key using Command Prompt.
Prepare Excel columns that match the PDF fields
Begin with text fields such as names, addresses and reference numbers. Once those work, test any checkboxes, lists or calculated fields separately.
- Open a working copy of the PDF in Acrobat and use Prepare a form to inspect its fields. Record each field's internal name, which may differ from the label printed beside it.
- Create a dedicated export worksheet in Excel. Put the PDF field names in the first row, with one column per field and one record per subsequent row.
- Match the headers exactly. For example, if the PDF field is named CustomerName, use CustomerName as the worksheet header, even if the visible PDF label says Full name.
- Remove merged cells, extra heading rows and totals from the export worksheet. Each data row should contain only the values intended for one completed form.
- Check the values before exporting. Store identifiers with leading zeros as text before entering or importing them, and use the date format the PDF expects. Review formula results for errors.
For a first test, use the header row and one fictional record. Include an address, a date and any identifier whose formatting matters. This makes mistakes easier to find without handling real customer information.
Adobe's text-data import reference explains that the first row supplies field names and each imported data row supplies the corresponding values.
Export a tab-delimited text file from Excel
Acrobat's form-data import uses supported data formats rather than an Excel workbook. A tab-delimited TXT file is a practical starting point for ordinary text fields. Keep your XLSX workbook as the editable master.
- Save the master workbook, then select the worksheet containing your export data.
- Choose File > Save As. In the file-type list, select Text (Tab delimited) (*.txt).
- Save the export with a recognisable name in your working folder. Review any prompts explaining that only the active worksheet is being saved or that workbook features are unsupported.
- Open the exported file in a text editor. Confirm that the header row is present and the values appear on the following line, separated by tabs.
Microsoft's text-file export guidance explains the Save As process and its worksheet limitations. Changing an XLSX filename to end in .txt does not convert its contents.
Import the data and save the completed PDF
- Open a fresh copy of the blank PDF template in Acrobat.
- Select All tools > Prepare a form, then Options > Import data.
- Choose the text-file format in the file picker, locate your exported TXT file and open it. Select the required record if prompted.
- Inspect every populated field. Check long addresses, leading zeros, accented characters and dates, as well as any values calculated by the form.
- Save the completed document under a new filename. Close and reopen it to check that the entered values remain visible.
Adobe's form-data import instructions describe the supported workflow. Available formats depend on how the form was created. Imported values can replace existing entries, while blank imported values may leave earlier entries in place. Starting from a clean template helps prevent records from being mixed.
Automate a separate PDF for each Excel row
The import process fills fields in the open form. To generate a folder of completed PDFs from a worksheet, you also need a process that handles each record and saves its output.
An Excel add-in, PDF batch application or custom script can provide that extra step. Check that your chosen tool supports the actual PDF template, your operating system and saving one output file per record. A general PDF converter may only convert document layouts.
A developer can use VBA alongside a compatible PDF application or library to read worksheet rows and set field values. Excel macros alone do not provide a general PDF form editor. Acrobat scripting also has execution and file-access restrictions, described in its text-data import reference linked above.
Build the batch around this sequence: open a clean template, populate one record, save it with a unique filename, then continue to the next record. Record failures so missing outputs can be investigated. Test a small sample containing blanks and unusually long values before processing the full worksheet.
Fix common field and formatting problems
- Empty fields: compare the Excel headers with the PDF's internal field names and check for stray spaces.
- Missing leading zeros: correct the source values in Excel and export again. Changing a cell's format cannot restore digits already lost.
- Incorrect checkboxes or list selections: inspect the field's accepted export values. Do not assume that Yes, True or a tick symbol will select the option.
- Truncated text: check the PDF field's size, character limit and multiline settings.
- Unavailable import format: check the form type and its supported formats. Some forms require a different data workflow.
For further help preparing the workbook, browse the Microsoft Office guides.
Start by matching one PDF text field to an Excel column, export a fictional record and confirm that the saved PDF retains the correct value.
Other editions for separate workloads
Other editions for separate workloads; prices in AUD, confirm the total on the listing.
-

Windows 11 Pro key
$14.99 AUD
$29.00 -

Office 2024 Pro Plus key
$20.00 AUD
$39.00 -

Windows 11 Home key
$18.88 AUD
$37.00
How to check this worked
- Open Settings, System, Activation and confirm the edition shown.
- Enter the key and run activation; expect a green tick within a minute.
- Reboot and re-check activation survives the restart.
FAQ
What else should you know before buying?
- What do I need before starting?
- Read the requirements and confirm the edition first; the steps assume the machine is compatible.
- How do I know the licence is genuine?
- Activate on Microsoft's servers and check Settings, System, Activation. A working activation is the test.
- Is this a subscription?
- Keys sold here are one-time lifetime licences. Microsoft 365 plans are billed by Microsoft instead.
- What if the key fails?
- Email hi@ms.codes with the order number and a screenshot. Replacement or refund applies within 30 days.
Check who prepared and reviewed this guide
- Written by
- MS.Codes editorial
- Reviewed by
- Support team
Last verified: (source review; see test status above).