Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Copying Print Areas when Copying Worksheets.

Copying Print Areas when Copying Worksheets

Written by Allen Wyatt (last updated October 2, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


2

Michael often copies worksheets within a workbook. This allows him to maintain the original worksheet and do his work on the newly copied worksheet. The one thing that doesn't copy from the source worksheet to the target worksheet is the print area. Michael would like a way to have the print area set in the newly copied worksheet after the copy is complete.

The answer depends on what you mean when you talk about copying worksheets. Let's say that you copy a worksheet in this manner:

  1. Create a blank worksheet.
  2. Display your source worksheet.
  3. Select all the cells in the worksheet.
  4. Press Ctrl+C to copy the cells to the Clipboard.
  5. Display the target worksheet (the one you created in step 1).
  6. Select a cell.
  7. Press Ctrl+V to paste the cells in the new worksheet.

This copies the contents of the source worksheet to the target worksheet, but it won't copy page settings, such as headers/footers, margins, and print areas. If you want to actually copy these items, you need to make sure you perform your copy using some variation of this procedure:

  1. Right-click on the worksheet tab of the worksheet you want to copy. Excel displays a Context menu.
  2. Choose Move or Copy from the Context menu. Excel displays the Move or Copy dialog box. (See Figure 1.)
  3. Figure 1. The Move or Copy dialog box.

  4. Click the Create a Copy check box.
  5. Choose the worksheet before which you want the copy created.
  6. Click OK.

The resulting copy of your worksheet includes any page settings, including any print areas defined in the worksheet.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12100) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Copying Print Areas when Copying Worksheets.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Jumping Back to the TOC

Word allows you to create a table of contents that provides hyperlinks to headings within your document. It doesn't make ...

Discover More

Changing Page Margins

If your worksheet is destined to be printed, you'll need to be concerned with how it appears on the page. One layout ...

Discover More

Ctrl+Break Won't Work to Stop a Macro

When you need to stop a macro while it is running, you normally press Ctrl+Break. What are you to do if the keypress ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Setting Print Ranges for Multiple Worksheets

Need the same print range set for different worksheets in the same workbook? It can't be done in one step manually, but ...

Discover More

Printing Multiple Worksheet Ranges

Need to print more than one portion of your worksheet? If you use named ranges for the different ranges you want to ...

Discover More

Adding the Set Print Area Tool

Spend a lot of time defining print areas in your workbooks? You might benefit by adding a Set Print Area tool to the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four minus 0?

2022-09-15 16:37:27

J. Woolley

Assume you open a workbook on a network and it is NOT read-only. If you want to copy the print area from Sheet1 to Sheet2, this might work:
1. Press Alt+F11 to open the VBA Editor (VBE).
2. Press Ctrl+G to open the VBE's Immediate window.
3. Type the following in the VBE's Immediate window, then press Enter:

Worksheets("Sheet2").PageSetup.PrintArea=Worksheets("Sheet1").PageSetup.PrintArea

This assumes both sheets are in the active workbook. Adjust sheet names if necessary.
If the sheets are in different workbooks with Sheet1 in Book1.xlsx and Sheet2 in Book2.xlsx, use this:

Workbooks("Book2.xlsx").Worksheets("Sheet2").PageSetup.PrintArea=Workbooks("Book1.xlsx").Worksheets("Sheet1").PageSetup.PrintArea

Adjust book and sheet names if necessary. If you do this often, prepare a macro.


2022-09-14 10:43:07

sylvain

Thanks for all these tips Allen!

How about if the file is shared (over a network, the old way)? it will not work...

Trying to figure out a way of copying the printing area


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.