+ Reply to Thread
Results 1 to 5 of 5

Printing several ranges on one sheet

  1. #1
    Registered User
    Join Date
    06-25-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    34

    Printing several ranges on one sheet

    I'm new to VBA and I never worked with any printing options.
    Can someone help me with the code required to print 2 different ranges on one sheet?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Printing several ranges on one sheet

    Hello nbuk,

    I am not sure if you are asking how to copy 2 ranges to a new sheet and print the sheet or print any 2 columns of an existing sheet. It would help if you post your workbook.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    06-25-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Printing several ranges on one sheet

    I have a macro which automatically generates 12 different schedules. The schedule has the capacity to store information for a year (schedule for 361 days). I need to be able to print it based on the day the user inputs.

    Ex: user inputs 6/15/10 then a schedule needs to be printed from 6/15/10 to 6/29/10.

    The reason I need to print 2 ranges is to add a column with times as it will most likely not be near the range of the schedule the user wants to print.

    I hope that makes sense.

    Thanks for the help so far.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Printing several ranges on one sheet

    Hello nbuk,

    Could you post a sample worksheet?

  5. #5
    Registered User
    Join Date
    07-08-2010
    Location
    Maldive
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Printing several ranges on one sheet

    Can anyone help me on setting a printing option where i can select a range on the sheet when I wanted to make a printout of that region. example region A with one option and region B with another option.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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