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

Automatic Scrolling

Spend a lot of time scrolling around in your document? You might find one of Word's hidden scrolling commands to be a ...

Discover More

Controlling How Excel Interprets Percentages

When entering data in a worksheet, Excel tries to figure out how your entry can best be shown on the screen. When it ...

Discover More

Creating a String in a Macro

Need to put together a bunch of characters to create a text string? You can do it in your macros by using the String ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Locking the Print Area

Excel allows you to specify an area of your worksheet that should be printed. Here's how to "lock" that area so it cannot ...

Discover More

Printing Multiple Selections

Need to print several portions of a worksheet all on a single piece of paper? Here's an easy way you can get what you ...

Discover More

Setting the Print Area

Many people, when they print a worksheet, print the entire thing. You don't have to, however. You can specify that Excel ...

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 2 + 5?

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.