Skip to main content

How to print even/odd pages only in Excel?

Author: Sun Last Modified: 2020-09-11

In Excel work, you may usually need to print pages, and in default, you can print selection, print the whole workbook, or print specified pages, such as from page 1 to 3, but do you know how to print only even pages or odd pages of the active workbook? In this article, I introduce the tricks to help you only print even or odd pages only in Excel workbook.

Print even/odd pages only with VBA

Print specific pages with Kutools for Excel good idea3

Print first page of each worksheet with Kutools for Excel good idea3


arrow blue right bubble Print even/odd pages only with VBA

In Excel, if you want to print only even or odd pages, you can apply a VBA to get it done.

1. Press Alt + F11 keys to open Microsoft Visual Basic for Applications window.

2. And click Insert > Module, then paste below VBA code to the new Module window.

VBA: Print even or odd pages only

Sub PrintOddEven()
'UpdatebyKutoolsforExcel20160105
    Dim xPages As Long
    Dim xFPage As Variant
    Dim Page As Integer
    xPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
    xFPage = Application.InputBox("Enter 1 for odd pages, enter 2 for even pages", "Kutools for Excel", , , , , , 1)
    If TypeName(xFPage) = "Boolean" Then Exit Sub
    If xFPage > 0 Then
        xFPage = Abs((xFPage Mod 2) - 2)
        For Page = xFPage To xPages Step 2
            ActiveSheet.PrintOut Page, Page
        Next
    End If
End Sub

3. Press F5 to execute the VBA, and enter 1 to print all odd pages, or enter 2 to print all even pages in the popping Kutools for Excel dialog. See screenshot:
doc print odd even 1

4. Click OK, and the only the odd pages or even pages are printing.


arrow blue right bubble Print specific pages with Kutools for Excel

If you are not familiar with VBA code, you can apply Kutools for Excel's Print Specific Pages utility, it can quickly print the specific pages only as you need, such as print odd/even pages only, print 5-12 pages only.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

Click Kutools Plus > Printing > Print Specific Pages, and in the popping dialog, check Odd pages or Even Pages option as you need. See screenshot:
doc print odd even 4

Click Ok. and then only the odd pages or even pages have been printing.

Note:If you want to print certain pages, such as page 2 to page 5, you can check Custom range option and enter 2-5 into the textbox. See screenshot:
doc print odd even 4

Tip. If you want to have a free trial of the Print Specific Pages function, please go to free download Kutools for Excel first, and then go to apply the operation according above steps.




arrow blue right bubble Print first page of each worksheet with Kutools for Excel

If there are multiple sheets in your open workbook, and now you want to print all the first page of each worksheet only, in this case, you can apply the Print First Page of Each Worksheet utility of Kutools for Excel to quickly get it done.

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

Enable the workbook you want to print first page of every sheet, and click Kutools Plus > Printing > Print First Page of Each Worksheet. See screenshot:
doc print odd even 5

Then all the first page of each sheet are printing.


Relative Articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Its awesome. Really Thank u verymuch
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations