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

Rounding to the Nearest $50

When preparing financial reports, it may make your data easier to understand if you round it to the nearest multiple, ...

Discover More

Specifying Different Weekends with NETWORKDAYS

The NETWORKDAYS worksheet function can be used to easily determine the number of work days (Monday through Friday) within ...

Discover More

Running a Macro while in Edit Mode

Excel doesn't allow you to run a macro while editing the contents of a cell. The only solution is to get out of Edit ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Using a Macro to Set a Print Range

Excel allows you to specify a print range that defines what should be printed from a given worksheet. This tip shows how ...

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 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
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 6 - 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.