Sub topic 5
Fitting content to pages with scaling
Scaling changes how large Excel draws your content on the printed page. It sits between the print area and the page breaks. The print area decides what prints. Orientation, paper size, and margins decide how much room each page has. Scaling decides how many pages that content needs. This chapter assumes you can already set a print area and choose orientation, paper size, and margins.
How scaling fits into pagination
Excel measures the print area against the printable space on one page. That space is the paper size minus the margins, in the chosen orientation. If the content is wider than that space, Excel starts a new page to the right. If it is taller, Excel starts a new page below. Scaling shrinks or enlarges the content before this measurement, so the same cells can take fewer or more pages.
Two things follow from this. First, scaling never changes cell values or column widths on screen. It changes only the printed output. Second, because the printer driver reports the paper and margins it supports, a different printer can change the printable space and therefore the page count.
The two scaling modes
The Page Setup dialog has a Scaling section on the Page tab. It offers two mutually exclusive choices.
| Mode | Setting | What Excel does |
|---|---|---|
| Adjust to | A percentage from 10 to 400 | Applies one fixed scale. The page count is whatever results. |
| Fit to | Pages wide by pages tall | Calculates the scale for you so the content fits the page grid you give. |
Selecting one mode turns off the other. The ribbon shows the same controls on the Page Layout tab, in the Scale to Fit group, with Width, Height, and Scale boxes.
Adjust to a percentage
Use a fixed percentage when you want predictable text size. At 100%, a 10-point font prints at 10 points. At 80%, it prints at roughly 8 points. A fixed scale suits reports where readers expect a consistent look across several printouts, and where the page count can vary with the data.
You can set the percentage in two places:
- On the Page Layout tab, type a value in the Scale box in the Scale to Fit group.
- Open the Page Setup dialog launcher, then choose Adjust to and type the value.
The Scale box is unavailable while Width or Height is set to anything other than Automatic. Set both back to Automatic to use it.
Fit to pages wide and tall
Use Fit to when the page count matters more than the exact size. You give Excel a target grid, and it picks the largest scale that fits the content into that grid. It never enlarges the content past 100%. If the content is already small enough, Fit to leaves it at 100%.
A common setup is one page wide and as many pages tall as needed. In the dialog, set Fit to: 1 page(s) wide by, and clear the tall box. On the ribbon, set Width to 1 page and Height to Automatic.
This gives you a table whose columns never split across pages, while long data still flows onto extra pages. Combine it with print titles, covered in a later chapter, so each extra page repeats the header row.
Worked example
Suppose a sales table occupies A1:L200. The twelve columns are too wide for portrait paper, so column L prints alone on a second page, and the total comes to 8 pages.
Apply these steps in order:
- Select the sheet and set the print area to
A1:L200. - On the Page Layout tab, set Orientation to Landscape.
- In the Scale to Fit group, set Width to 1 page and Height to Automatic.
- Open Print Preview and check the page count at the bottom.
Landscape gives more width per page. Fit to 1 page wide then shrinks the content just enough to hold all twelve columns. The 200 rows still run onto as many pages as they need. Check the result in Print Preview, because the scale Excel picked is not shown in the preview itself. To see it, reopen the Page Setup dialog. The Adjust to box then displays the computed percentage, though the Fit to option stays selected.
Fixed scale versus fit: choosing between them
The right mode depends on what must stay constant.
| Situation | Better choice | Reason |
|---|---|---|
| Data grows or shrinks between runs | Fit to 1 page wide, tall automatic | Columns stay together and rows add pages as needed. |
| A form must fill exactly one page | Fit to 1 by 1 | Guarantees a single page whatever the content. |
| Printouts must match a physical template | Adjust to a fixed percentage | Text and column sizes stay identical each time. |
| Readers complain the text is tiny | Adjust to a percentage you set | You control the minimum text size. |
Fit to 1 by 1 deserves a caution. It guarantees one page but not legibility. With enough rows, the scale can fall below the size a reader can use.
Legibility limits
Excel allows scales down to 10%, which is unreadable in practice. As a working rule, keep body text at 8 points or larger on the paper. You can estimate the printed size with a simple formula:
printed size = font size × scale
A 11-point font at 70% prints at 7.7 points, which is near the lower limit. If Fit to produces a scale below about 70%, consider one of these changes:
- Remove columns that readers do not need, or hide them.
- Narrow wide columns that hold short values.
- Switch from portrait to landscape, or from Letter to Legal or A3 if the printer supports it.
- Reduce margins within what the printer can handle.
- Allow two pages wide instead of one, and accept a split.
Interactions and edge cases
Manual page breaks are ignored by Fit to
When Fit to is active, Excel ignores manual page breaks. Your inserted breaks stay in the file, but they have no effect on printing. If you need breaks at particular rows, switch to Adjust to and choose a percentage that works. The page breaks chapter covers how to place them.
Fit to and Page Break Preview
In Page Break Preview, the blue dashed lines show automatic breaks. With Fit to set to 1 page wide, you will see no vertical automatic break inside the print area, because the scaling guarantees none. A vertical break that still appears usually means the Width box is set to Automatic rather than 1.
Print area changes alter the scale
Fit to recalculates whenever the print area changes. Add a column to the print area and the scale drops, because the same width now holds more content. This is why a report that looked fine last month can print smaller after someone adds a column. Check the Adjust to percentage after structural changes.
Scaling and headers and footers
Headers and footers have their own option, Scale with document, in the Page Setup dialog's Header/Footer tab. When it is selected, the header and footer text scales with the content. Clear it if you want the footer to stay at its set size while the body shrinks. Page numbers in the footer then remain easy to read.
Row heights and wrapped text
Scaling shrinks everything proportionally, including row heights and wrapped lines. Printing can still wrap text differently from the screen, because the printer's font metrics differ from the display's. If a row of wrapped text looks cut off, widen the column slightly or turn on Wrap Text and let the row autofit before printing.
Multiple sheets
Scaling is a per-sheet setting. If you print a workbook, each sheet uses its own scaling. Grouping sheets by Ctrl-clicking their tabs lets you set the same Fit to value on all of them at once. Ungroup afterward, or later edits will apply to every grouped sheet.
Setting scaling with VBA
The PageSetup object exposes both modes. Setting Zoom to False switches on Fit to, and FitToPagesWide and FitToPagesTall then apply. Setting Zoom to a number switches on Adjust to.
Sub FitOnePageWide()
With ActiveSheet.PageSetup
.Orientation = xlLandscape
.Zoom = False
.FitToPagesWide = 1
.FitToPagesTall = False
End With
End Sub
Sub UseFixedScale()
With ActiveSheet.PageSetup
.Zoom = 85
End With
End SubAssigning False to FitToPagesTall means Automatic. The Zoom property accepts whole numbers from 10 to 400. Note that reading Zoom after Fit to is active returns False, not the computed percentage.
Common mistakes
- Setting a Fit to value but leaving Adjust to selected, so the width and height boxes have no effect.
- Expecting manual page breaks to work together with Fit to.
- Choosing Fit to 1 by 1 on a long list and producing unreadable text.
- Forgetting that a new printer or paper size can change the result.
- Setting the scale on one sheet and assuming the whole workbook follows.
Exercise
A table in A1:J400 prints on 14 pages in portrait orientation at 100%. Columns I and J land alone on separate pages. You want every column on each page, with rows flowing onto as many pages as needed, and body text of 10 points that should not fall below 8 points on paper. Which settings do you use, and how do you check the text size?
Show answer
Set the orientation to Landscape, then set Width to 1 page and Height to Automatic in the Scale to Fit group. Open the Page Setup dialog and read the grayed Adjust to percentage. Multiply 10 points by that percentage. If the scale is 80% or higher, the text prints at 8 points or more. If it is lower, hide or narrow columns, or use a larger paper size, and check again.
Exercise
You inserted a manual page break above row 101 so each department starts on a new page. After switching to Fit to 1 page wide, the break no longer takes effect. Why, and what is a workable alternative?
Show answer
Fit to ignores manual page breaks. Switch to Adjust to and enter a percentage that fits the columns on one page width, for example the value the dialog showed under Fit to. Then the manual break at row 101 takes effect again.