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

Forcing a Page Break Before a Paragraph

There are times that you just want to begin a paragraph (perhaps a heading) at the top of a new page. Word allows you to ...

Discover More

Can't Use Hyperlinks

Before some features in Excel can function properly, you must have the correct permissions set for the user of the ...

Discover More

Graphics Marked as Changed when Comparing Documents

The tools on the Review tab of the ribbon allow you to do all sorts of markup and comparisons of documents. When ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Clearing the Print Area

Excel allows you to specify which portions of a worksheet should be printed when you send output to your printer. If you ...

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

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
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 seven minus 7?

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.