A worksheet’s content may fill more than one page when printed, in which case the extra columns or rows must be printed on a separate sheet of paper. It is not economical to print one column or one row on a sheet of paper. There is a possible solution to resizing Excel’s print area such that it will fit all of the text on one page. In this article, we will show you how to Fit to Page in Excel.
Download Practice Workbook
You may download the following Excel workbook for better understanding and practice yourself.
3 Handy Approaches to Fit to Page in Excel
Typically, Excel spreadsheets don’t print the way you want them to. If you’re lucky, your spreadsheet’s rows and columns will all exactly match the size of the printed page, but more often than not, one column or one row will result in the addition of an extra page or even a double-digit increase in the number of pages. In the following ways, we will demonstrate how to fit a page in Excel by utilizing Page Layout, tab using Print Preview Screen, and applying VBA Code. Let’s suppose we have a sample data set of multiple rows and columns.
1. Utilizing Page Layout Tab to Fit to Page in Excel
In this first method, you will learn how to Fit to Page in Excel utilizing the Page Layout tab.
Step 1:
- First, select the Page Layout tab.
- Then, click on the marked sign which is indicated by position 2.
Step 2:
- Now, the Page Setup panel will open.
- And then, click on the Fit to option choosing page wide by 1 and tall by 1.
- Finally, click OK.
Step 3:
- Here, you will see the final outcomes of the worksheet all on one page to fit to be printed.
Read More: How to Change the Printing Scale So All Columns Will Print on a Single Page
Similar Readings
- How to Add Legal Paper Size in Excel
- Why Is My Excel Sheet Printing So Small (Reasons and Solutions)
- How to Add A3 Paper Size in Excel (2 Quick Ways)
2. Using Print Preview Screen to Fit to Page in Excel
In this method, we will demonstrate how to Fit to Page in Excel when scrolling using the Print preview screen window.
Step 1:
- At the start of this section, navigate to the File tab.
Step 2:
- Now, go to the Print tool.
- Then, select the No Scaling option.
- Besides, click on the Fit Sheet on One Page option.
Step 3:
- Finally, the worksheet’s results are displayed here on a single page that is suitable for printing.
Read More: Excel Fit to Page Scale/Preview Looks Small (5 Suitable Solutions)
3. Applying VBA Code to Fit to Page in Excel
In this last section, we will generate a VBA code utilizing the Developer tab to Fit to Page in Excel.
Step 1:
- At first, we will use the Developer tab.
- Then, we will select the Visual Basic command.
Step 2:
- Here, the Visual Basic window will open.
- After that, from the insert option, we will choose the new Module to write a VBA Code.
Step 3:
- Now, paste the following VBA code into the Module. To run the program, click the “Run” button or press F5.
Sub Fit_to_Page()
Dim Mysheet As Worksheet
Set Mysheet = ThisWorkbook.ActiveSheet
'PageSetup allows to configure different printing settings in their configuration
With Mysheet.PageSetup
'Data set will be printed in landscape orientation without zoom
.Orientation = xlLandscape
.Zoom = False
'One page for height
.FitToPagesTall = 1
'One page for wide
.FitToPagesWide = 1
'Print area will be specified
.PrintArea = "A1:E26"
End With
'Any sheet for printing
Set Mysheet = Nothing
End Sub
VBA Code BreakDown
- Firstly, we call our Sub Procedure Fit_to_Page_Folder.
- Then, we refer to our current Worksheet as Active Worksheet.
- Now, we choose Page_Setup which allows configuring different printing settings in their configuration.
- Then, we specify our landscape orientation using Orientation = xlLandscape.
- Again, we specify our pages height and wide on one page to fit using FitToPagesTall = 1 and FitToPagesWide = 1.
- Finally, we specify our print area using PrintArea = “A1:E26”.
Step 4:
- Here, you will see the results of the worksheet on one printable page.
Read More: How to Adjust Page Size for Printing in Excel (6 Quick Tricks)
Conclusion
In this article, I’ve covered 3 handy methods to Fit to page in Excel. I sincerely hope you enjoyed and learned a lot from this article. Additionally, if you want to read more articles on Excel, you may visit our website, Exceldemy. If you have any questions, comments, or recommendations, kindly leave them in the comment section below.