Print an Excel Sheet at 150% Scale with VBA
Question details
Print an Excel worksheet at 150% scale using VBA without permanently changing its print settings.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to enlarge a worksheet's printed output using a VBA macro.
- Observed behavior
- The worksheet should print at 150% scale while its original print scaling is restored afterward.
Identify the worksheet name and make sure macros are enabled for the workbook. Save the workbook as an Excel Macro-Enabled Workbook (.xlsm) if you want to keep the VBA code.
Print at 150% and restore the original settings
Use a macro when the 150% scaling should apply only to the print job.
The macro saves the current scaling and fit-to-page settings, prints the named worksheet, and restores those settings afterward. Print scaling changes the printed output, not the worksheet's actual font sizes.
In Excel, open the workbook and select Developer > Visual Basic. If the Developer tab is hidden, enable it in Excel's ribbon settings.
In the VBA editor, select Insert > Module and paste this code: Sub PrintSheetAt150() Dim ws As Worksheet Dim oldZoom As Variant Dim oldWide As Variant Dim oldTall As Variant Dim errorMessage As String Set ws = ThisWorkbook.Worksheets("Sheet1") oldZoom = ws.PageSetup.Zoom oldWide = ws.PageSetup.FitToPagesWide oldTall = ws.PageSetup.FitToPagesTall On Error GoTo PrintFailed ws.PageSetup.Zoom = 150 ws.PrintOut GoTo RestoreSettings PrintFailed: errorMessage = Err.Description RestoreSettings: On Error Resume Next ws.PageSetup.FitToPagesWide = oldWide ws.PageSetup.FitToPagesTall = oldTall ws.PageSetup.Zoom = oldZoom On Error GoTo 0 If errorMessage <> "" Then MsgBox "Printing failed: " & errorMessage End Sub
In the code, replace "Sheet1" with the worksheet tab name you want to print.
Return to Excel, select Developer > Macros, choose PrintSheetAt150, and select Run. The macro prints the sheet and then restores its previous scaling settings.

Apply 150% scaling before workbook print events
Use Workbook_BeforePrint if you want Excel to set the named sheet to 150% whenever the workbook is printed or previewed.
Work with Excel-compatible spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening, editing, and printing spreadsheets. It supports common Excel formats for easier migration, though it does not fix Excel's VBA behavior or guarantee compatibility with every macro.

Frequently Asked Questions
Does 150% print scaling change the font size in my worksheet?
No. Setting PageSetup.Zoom to 150 enlarges the printed output; it does not change the font size stored in the worksheet.
Why might a sheet print on more pages at 150%?
Enlarging the output can make rows or columns exceed a page's printable area. Check File > Print to see how many pages the sheet will use.
Will Workbook_BeforePrint restore the original scaling?
No. The event runs before printing or previewing and leaves the new setting in place. Use a macro that saves the original PageSetup values, calls PrintOut, and then restores them.
What if the worksheet was originally set to fit on one page?
The temporary print macro saves Zoom, FitToPagesWide, and FitToPagesTall and restores them after PrintOut. This preserves the original fit-to-page configuration.
Where should I put the VBA code?
Place the temporary print macro in a standard module through Insert > Module. Place the Workbook_BeforePrint event in the ThisWorkbook module.




