banner



How To Set Print Area In Excel Windows 10

In this tutorial, yous will learn how to select print area in Excel manually and how to gear up print ranges for multiple sheets past using macros.

When you hit the Print button in Excel, the entire spreadsheet is printed past default, which often takes multiple pages. Just what if you don't really need all the content of a huge worksheet on paper? Luckily, Excel provides the power define the parts for press. This feature is known as Impress Area.

  • What is Excel print area?
  • How to set print expanse in Excel
  • Fix multiple print areas
  • Force Excel to ignore impress area
  • Print multiple areas on one page
  • Set print area for multiple sheets
  • How to modify print area in Excel
  • How to clear print area in Excel
  • How to lock print area in Excel
  • Excel print area problems

A impress area is a range of cells to exist included in the final printout. In case you don't desire to print the entire spreadsheet, set a print area that includes only your pick.

When you press Ctrl + P or click the Print button on a sail that has a divers print area, only that area will be printed.

You tin select multiple print areas in a single worksheet, and each area will print on a divide page. Saving the workbook also saves the print expanse. If you change your listen at a later point, yous tin clear the impress surface area or modify it.

Defining a print area gives you more control over what each printed page looks like and, ideally, you should always set up a impress area earlier sending a worksheet to the printer. Without information technology, y'all may end up with messy, hard to read pages where some important rows and columns are cut off, peculiarly if your worksheet is bigger than the paper y'all are using.

How to prepare the print surface area in Excel

To instruct Excel which section of your information should appear in a printed re-create, proceed in one of the following means.

Fastest manner to set print area in Excel

The quickest way to set a constant print range is this:

  1. Select the part of the worksheet that you lot want to print.
  2. On the Page Layout tab, in the Page Setup group, click Print Surface area > Ready Print Expanse.

Fastest way to set print area in Excel

A faint grayness line volition appear cogent the print expanse.
Excel print area

More informative mode to define print area in Excel

Desire to visually see all your settings? Here'southward a more transparent approach to defining a print area:

  1. On the Page Layout tab, in the Folio Setup group, click the dialog launcher Dialog launcher. This will open the Page Setup dialog box.
  2. On the Sheet tab, put the cursor in the Print expanse field, and select one or more ranges in your worksheet. To select multiple ranges, please call up to hold the Ctrl key.
  3. Click OK.

More informative way to define print area in Excel

Tips and notes:

  • When you save the workbook, the impress area is also saved. Whenever you send the worksheet to the printer, only that area volition be printed.
  • To make sure the defined areas are the ones y'all really want, press Ctrl + P and become through each page preview.
  • To chop-chop impress a certain part of your data without setting a impress area, select the desired range(s), press Ctrl + P and choose Impress Option in the drop-downwards listing right under Settings. For more information, please run into How to impress selection, sail or entire workbook.

How to set multiple print areas in Excel

To print a few different parts of a worksheet, y'all tin select multiple impress areas in this way:

  1. Select the first range, concord downward the Ctrl central and select other ranges.
  2. On the Page Layout tab, in the Folio Setup group, click Print Expanse > Prepare Print Surface area.

Washed! Multiple impress areas are created, each one representing its own folio.

Note. This only works for non-contiguous ranges. Adjacent ranges, even selected separately, will exist included in a unmarried impress area.

How to force Excel to ignore print surface area

When yous want a hard re-create of a whole sail or entire workbook but practise not desire to carp clearing all the print areas, just tell Excel to ignore them:

  1. Click File > Impress or press Ctrl + P.
  2. Nether Settings, click the arrow next to Print Active Sheets and select Ignore Impress Surface area.

Ignore print area in Excel.

The power to print multiple areas per sheet of paper is controlled by a printer model, not past Excel. To cheque if this option is bachelor to you, press Ctrl + P, click the Printer Properties link, and and so switch through the available tabs of the Printer Properties dialog box searching for the Pages per Sheet pick.
Printer Properties

If your printer has such an selection, lucky you are :) If in that location is no such option, and then the only fashion I can recall of is copying the print ranges to a new canvas. With the assist of the Paste Special feature, you can link the copied ranges to the original data in this way:

  1. Select the beginning print area and press Ctrl + C to copy it.
  2. On a new canvas, right click whatever bare jail cell and choose Paste Special > Linked Pic.
  3. Echo steps one and 2 for other print areas.
  4. In the new sheet, press Ctrl + P to print all the copied print areas on one page.

Paste the copied range as liked picture.

In case you have a lot of worksheets with exactly the aforementioned structure, yous will obviously desire to output the same rage on paper. The problem is that selecting several sheets disables the Print Expanse push button on the ribbon. Luckily, there is an piece of cake workaround described in How to print the same range in multiple sheets.

If yous have to print the same area on multiple sheets regularly, the use of VBA tin can speed upwardly things.

Prepare print area in selected sheets as on the active canvas

This macro automatically sets the print area(s) for all selected worksheets the same as on the agile sheet. When multiple sheets are selected, the active sheet is the one which is visible when you run the macro.

Sub SetPrintAreaSelectedSheets() 	Dim CurrentPrintArea As String 	Dim Sheet As Worksheet  	CurrentPrintArea = ActiveSheet.PageSetup.PrintArea  	For Each Sheet In ActiveWindow.SelectedSheets 		Sail.PageSetup.PrintArea = CurrentPrintArea 	Adjacent End Sub          

Set print range in all worksheets as on the agile canvas

No matter how many sheets you have, this code defines the print range in a whole workbook in 1 go. Simply, set the desired print expanse(s) on the active sheet and run the macro:

Sub SetPrintAreaAllSheets() 	Dim CurrentPrintArea As String 	Dim Canvass Equally Worksheet  	CurrentPrintArea = ActiveSheet.PageSetup.PrintArea  	For Each Sheet In ActiveWorkbook.Sheets 		If Sheet.Name <> ActiveSheet.Name Then 			Canvass.PageSetup.PrintArea = CurrentPrintArea 		End If 	Next End Sub          

Set the specified print surface area in multiple sheets

When working with dissimilar workbooks, you may find it convenient if the macro prompts you to select a range.

Here's how information technology works: you lot select all the target worksheets, run the macro, select one or more ranges when prompted (to select multiple ranges, hold the Ctrl key), and click OK.
Macro to set print area for multiple sheets

Sub SetPrintAreaMultipleSheets() 	Dim SelectedPrintAreaRange Every bit Range 	Dim SelectedPrintAreaRangeAddress Every bit String 	Dim Sheet As Worksheet  	On Fault Resume Next  	Set SelectedPrintAreaRange = Application.InputBox("Please select the print surface area range", "Set Print Area in Multiple Sheets", Type:=eight)  	If Not SelectedPrintAreaRange Is Nothing Then 		SelectedPrintAreaRangeAddress = SelectedPrintAreaRange.Address(True, True, xlA1, False)  		For Each Sheet In ActiveWindow.SelectedSheets 			Sail.PageSetup.PrintArea = SelectedPrintAreaRangeAddress 		Next 	End If  	Prepare SelectedPrintAreaRange = Zip  End Sub          

How to use the macros

The easiest mode is to download our sample workbook with Print Surface area Macros and run a macro direct from that workbook. Here'south how:

  1. Open up the downloaded workbook and enable the macros if prompted.
  2. Open your ain workbook.
  3. In your workbook, press Alt + F8, select the macro of involvement, and click Run.

The sample workbook contains the post-obit macros:

  • SetPrintAreaSelectedSheets - sets the print surface area in the selected sheets every bit on the active sheet.
  • SetPrintAreaAllSheets – sets the print area in all sheets of the current workbook equally on the active canvass.
  • SetPrintAreaMultipleSheets - sets the specified impress area in all the selected worksheets.

Alternatively, you lot can save your file as a macro-enabled workbook (.xlsm) and add a macro to it. For the detailed stride-past-step instructions, please see How to insert and run VBA code in Excel.

How to change print surface area in Excel

Accidentally included irrelevant data or missed selecting a few important cells? No problem, there are iii like shooting fish in a barrel means to edit impress area in Excel.

How to aggrandize print expanse in Excel

To add more than cells to the existing print expanse, just do the following:

  1. Select the cells that y'all'd like to add.
  2. On the Page Layout tab, in the Folio Setup grouping, click Print Area > Add together to Print Surface area.

Washed!
Expanding the print area in Excel

This is of course the fastest fashion to modify print area, but not transparent. To get it right, here are a few important things to remember:

  • The Add to Print Area option appears only when the worksheet already has at to the lowest degree one print area.
  • If the cells you lot are calculation are not side by side to the existing print area, a new print area is created, and information technology will print as a different page.
  • If the new cells are adjacent to the existing print area, they volition be included in the same area and printed on the aforementioned folio.

Edit impress expanse in Excel by using Name Director

Every fourth dimension you set a print area in Excel, a defined range named Print_Area is created, and there is nothing that would prevent you from modifying that range directly. Here's how:

  1. On the Formulas tab, in the Defined Names group, click Proper name Manager or press Ctrl + F3 shortcut.
  2. In the Name Director dialog box, select the range you want to change and click the Edit button.

Editing the print area

Change print area via Folio Setup dialog box

Another quick way to adjust print surface area in Excel is to use the Page Setup dialog box. The best matter about this method is that it lets you make any changes you want – modify the impress area, delete or add a new 1.

  1. On the Page Layout tab, in the Page Setup grouping, click the dialog launcher (a pocket-sized arrow in the lower-correct corner).
  2. On the Canvass tab of the Page Setup dialog box, you volition run into the Print area box and tin can practice your edits right there:
    • To modify the existing print area, delete and type the correct references manually.
    • To supervene upon the existing surface area, put the cursor in the Print area box and select a new range on the sail. This will remove all the existing print areas so only the selected ane is fix.
    • To add together a new area, printing and hold the Ctrl key while selecting a new range. This will set a new print area in addition to the existing one(s).

Changing print area in Excel

How to articulate impress area in Excel

Clearing the impress area is as easy as setting it :)

  1. Open the worksheet of involvement.
  2. Switch to the Folio Layout tab > Page Setup group and click the Clear Print Area button.

Clear print area in Excel.

Note. If a worksheet contains multiple print areas, all of them will be removed.

How to lock print area in Excel

If you lot frequently share your workbooks with other people, you may want to protect the impress surface area so that no i could mess up your printouts. Regrettably, there is no direct manner to lock the impress area in Excel even past protecting a worksheet or workbook.

The only working solution to protect print area in Excel is with VBA. For this, you add the Workbook_BeforePrint event handler that silently forces the specified print area simply before printing.

A simpler way would be to gear up the event handler for the active sheet, but this works with the following caveats:

  • All your worksheets should have the same impress rage(south).
  • Y'all will need to select all the target sheet tabs before printing.
Private Sub Workbook_BeforePrint(Abolish As Boolean)      ActiveSheet.PageSetup.PrintArea = "A1:D10" End Sub          

If different sheets have different structure, then specify the impress surface area for each sheet individually.

Private Sub Workbook_BeforePrint(Cancel As Boolean)      Worksheets("Sheet1").PageSetup.PrintArea = "A1:D10"      Worksheets("Sheet2").PageSetup.PrintArea = "A1:F10" Terminate Sub          

The above macro sets the impress area to A1:D10 for Sheet1 and to A1:F10 for Sheet2. You are complimentary to change these equally desired as well as to add more sheets.

To add the outcome handler in your workbook, deport out these steps:

  1. Press Alt + F11 to open the Visual Basic Editor.
  2. In the Project Explorer window on the left, expand the target workbook's node and double-click ThisWorkbook.
  3. In ThisWorkbook Code window, paste the code.

Lock print area in Excel

Note. For this approach to work, the file needs to be saved equally a macro-enabled workbook (.xlsm) and the macro should be enabled on opening the workbook.

Most printing problems in Excel usually chronicle to the printer settings rather than print area. Nevertheless, the following troubleshooting tips may come in helpful when Excel is not press the correct data.

Cannot set print surface area in Excel

Problem: You tin can't become Excel to accept the print expanse that you lot define. The Print Area field shows some odd ranges, but not the ones you have entered.

Solution: Try to clear impress surface area completely, and so select it anew.

Not all columns are printed

Problem: Y'all accept selected a certain number of columns for the impress area, but not all of them are printed.

Solution: Most likely, the column width exceeds the paper size. Try making the margins narrower or adjust scaling – choose Fit All Columns on I Page.

The impress area prints on several pages

Problem: Y'all want the one-page printout, but it prints on several pages.

Solution: Non-side by side rages are printed on individual pages by design. If y'all selected only i range but information technology gets separate to several pages, and so well-nigh probably it is bigger than the newspaper size. To prepare this, try setting all margins close to 0 or cull Fit Sail on One Page. For more details, please run into How to print Excel spreadsheet on one folio.

That'southward how you prepare, change and clear print area in Excel. I give thanks y'all for reading and hope to see you on our blog next week!

You may too be interested in

Source: https://www.ablebits.com/office-addins-blog/2019/08/20/set-change-print-area-excel/

Posted by: fraleywhisight.blogspot.com

0 Response to "How To Set Print Area In Excel Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel