Printing Problems

Force Microsoft Access Reports to Use A4 Paper with VBA

John WilsonJohn Wilson Nov 25, 2026 868 views

Question details

Set Access reports to use A4 paper automatically rather than requiring users to select it before printing.

Force Microsoft Access Reports to Use A4 Paper with VBA
Product
Microsoft Access
Device & OS
not provided
Scenario
An A4 report is opened on a computer whose default printer uses Letter paper.
Observed behavior
The report may reflow across multiple pages until the user manually selects A4 paper.
Before you start

Confirm that an available printer supports A4 paper and that the report is designed for A4. Check whether the report uses the default printer or a specifically saved printer in its Page Setup settings.

Solution 1Recommended

Set the active Access printer to A4 before opening the report

Use VBA to set A4 portrait paper before opening or printing a report that uses the active Access printer.

1
Open the VBA editor

In Access, press Alt+F11, then choose Insert > Module to create a standard module.

2
Add the report procedure

Add this procedure and replace YourReportName with the report's actual name: Public Sub OpenA4Report() Dim prtr As Access.Printer Set prtr = Application.Printer prtr.PaperSize = acPRPSA4 prtr.Orientation = acPRORPortrait DoCmd.OpenReport "YourReportName", acViewPreview End Sub

3
Call the procedure

Call OpenA4Report from the VBA event that opens the report, such as a switchboard button's On Click event. For direct printing instead of preview, change acViewPreview to acViewNormal.

4
Check the report preview

Use the button or run OpenA4Report from the VBA editor, then inspect the report in Print Preview. If it still uses another size, open Page Setup and check its saved printer and paper settings.

Set the active Access printer to A4 before opening the report
Printer scope: Application.Printer configures the active printer in Access; it does not normally change every printer's system-wide defaults. A report saved to use a specific printer may use its own settings instead, and available paper sizes depend on the printer driver.
Free Microsoft Office alternative

Create and Print A4 Documents with WPS Office

WPS Office is a free, lightweight alternative for creating and printing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make it easy to move compatible files to WPS. It does not run Microsoft Access databases, reports, or Access VBA.

Choose A4 paper when preparing compatible documents for printingOpen and edit Microsoft Office formats such as DOCX, XLSX, and PPTXUse a familiar interface for everyday office tasksWork with a free, lightweight office suite
QA img-9

Frequently Asked Questions

Where should I call the A4 printer procedure?

Call it from the VBA event that opens the report, such as a switchboard button's On Click event. Set the printer properties before DoCmd.OpenReport so the report opens with those settings.

Which VBA constants select A4 and portrait orientation?

Set the Access Printer object's PaperSize property to acPRPSA4 and its Orientation property to acPRORPortrait.

Will this change every printer's settings on the computer?

The procedure configures Application.Printer in Access and does not normally change every printer's system-wide defaults. A report that uses a specifically saved printer may retain separate settings.

Why does my report still print on Letter paper?

Check Page Setup in the report's Print Preview for a saved specific printer or paper size. Also confirm that the selected printer driver supports A4 and that the report's width and margins fit the printable area.