+ Reply to Thread
Results 1 to 6 of 6

Printing Odd/Even Pages in every worksheet

  1. #1
    Registered User
    Join Date
    03-25-2009
    Location
    Asheville, NC
    MS-Off Ver
    Excel 2000
    Posts
    3

    Printing Odd/Even Pages in every worksheet

    I am using this macro to print all of the odd or even pages in the active worksheet:
    Please Login or Register  to view this content.
    I am trying to edit the macro code to print all of the odd or even pages in every worksheet in the active workbook without any success.

    I tried changing the
    Please Login or Register  to view this content.
    and it still only prints the odd or even pages active worksheet.

    What changes do I need to make to print every worksheet in the active workbook?

    Thanks,
    Jason

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Printing Odd/Even Pages in every worksheet

    Hi NCJason,

    Welcome to the forum.

    Let me know how the following goes.

    HTH

    Robert

    Please Login or Register  to view this content.
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    03-25-2009
    Location
    Asheville, NC
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Printing Odd/Even Pages in every worksheet

    Robert,
    That code is a start but it does not fully help me.

    I now know how to print the odd/even pages in the selected worksheet and how to print every worksheet in the workbook.

    How do I print just the odd (or even) pages in every worksheet in the workbook?

  4. #4
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Printing Odd/Even Pages in every worksheet

    Hi NCJason,

    Maybe?

    1.) On the Tools menu, point to Macro, and then click Visual Basic Editor.
    2.) On the Insert menu, click Module.

    Excel inserts a module called Module1 into your project.
    3.) In the Module window, type the following code:

    Please Login or Register  to view this content.
    4.) Quit the Visual Basic Editor.
    5.) On the Tools menu, point to Macro, and then click Macros.
    6.) In the Macro Name list, click PrintOddEven.
    7.) Click Run.

    Hope it helps, Mike

  5. #5
    Registered User
    Join Date
    03-25-2009
    Location
    Asheville, NC
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Printing Odd/Even Pages in every worksheet

    Mike,
    That code is very close to what I need, but it does not quite work correctly. My workbook has three worksheets in it and each worksheet has two pages.

    When I run the macro it prints sheet one page one and sheet two page one but does not print sheet three page one. I am prompted to print the even pages and if I select yes it only prints sheet one page two.

    Jason

  6. #6
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Printing Odd/Even Pages in every worksheet

    Hi Jason,

    See if this works for even and odd page printing for each tab in the workbook:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    HTH

    Robert

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1