Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Printing Odd or Even Pages.

Printing Odd or Even Pages

Written by Allen Wyatt (last updated July 2, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003


When printing longer worksheets, you may long for a way to print either odd or even pages. Unfortunately, Excel doesn't' include this capability. There are a couple of ways you can work around this problem, however.

First, if your purpose for printing odd and even pages is to print double-sided, you might check out your printer driver to see if it can handle double-sided printing or if it will somehow print just odd or even pages. This approach allows you to bypass Excel altogether.

Another way to bypass Excel is to simply create a PDF file from your output. You can then open the PDF file and use Acrobat or Adobe Reader to print either odd or even pages.

If you want to stay within Excel, then perhaps the best way to handle the situation is to come up with a macro that will handle the printing. Such a macro can be approached in any number of ways. Here's a short one:

Sub PrintOddEven()
    Dim TotalPages As Long
    Dim StartPage As Long
    Dim Page As Integer

    StartPage = InputBox("Enter starting page number")
    TotalPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
    If StartPage > 0 And StartPage <= TotalPages Then
        For Page = StartPage To TotalPages Step 2
            ActiveSheet.PrintOut From:=Page, To:=Page, _
              Copies:=1, Collate:=True
        Next
    End If
End Sub

When you run the macro, you are asked for a starting page number. In most instances you would enter either 1 or 2, but you could actually enter any page number you want. The macro then prints the starting page and every second page from thereon out.

You could, if desired, also print odd and even pages by creating two custom views in Excel—one for odd pages and one for even pages. All you need to do is specify a non-contiguous range of cells (consisting of the cells in either the odd or even pages) as your print area for each view. For instance, if you wanted to define a print area that consisted of the cells for all the odd pages, you could do this:

  1. Change to Page Break Preview.
  2. Use the mouse to select all the cells of page 1.
  3. Hold down the Ctrl key as you select all the cells of page 3.
  4. In turn, and still holding down the Ctrl key, select all the cells of the other odd-numbered pages.
  5. Define the selected cells as the print area.

With the print area selected, save the view. Then wipe out the print area, use the same technique to select all the even cells, and save the view. You now have two views you can print, and each view will contain only odd or even pages. The only drawback to this approach is that Excel numbers the printed pages sequentially (1, 2, 3, 4) instead of what they really are (1, 3, 5, 7).

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8843) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Printing Odd or Even Pages.

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

Changing Tabs Using the Ruler

Need to adjust the position of tab stops in a paragraph? One simple way to do it is to just drag them around on the ruler.

Discover More

Creating One-time Labels

Need to create a set of labels for a specific purpose? The easiest way is to let Word create a set of blank labels and ...

Discover More

Seeing What Changed in a PivotTable

PivotTables are great for aggregating and analyzing tons of raw data. If you want to see what changes in the PivotTable ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (menu)

Protecting Print Settings

Need to have your print settings always be a certain way? Tired of resetting the settings after others use the workbook ...

Discover More

Selecting a Paper Source

When you print a worksheet, you may want to specify that the printout be done on a particular paper tray in a particular ...

Discover More

Fitting Your Printout on a Page

Tired of wasting paper when you print a worksheet? You can scale Excel's output so that it fits only the number of pages ...

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?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.