Results 1 to 4 of 4

Thread: Macro To Print Selected Range

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    2
    Rep Power
    0

    Macro To Print Selected Range

    Hi can anyone give me the macro for printing a selection in a sheet?
    Thanks
    Last edited by ciapul12; 11-15-2013 at 03:43 PM. Reason: cross posting

  2. #2

  3. #3
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    The basic code to print the selection is

    Code:
    Selection.PrintOut
    There are a few arguments you can use to manipulate your print command. One of them being 'Copies'

    So if you need 5 copies for example, you could use

    Code:
    Selection.PrintOut Copies:=5
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  4. #4
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    ciapul12, please do not disregard the importance of proper cross-posting. inappropriate language and behavior towards fellow users (public or private) is uncalled for.

    http://www.excelfox.com/forum/infrac...infractionid=1
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 4
    Last Post: 07-02-2013, 11:32 AM
  2. Replies: 3
    Last Post: 05-14-2013, 03:25 PM
  3. Replies: 2
    Last Post: 09-24-2012, 06:24 PM
  4. Excel Macro to Sort Data if a value changes in defined range
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 4
    Last Post: 09-05-2012, 10:31 AM
  5. Print Selective Area
    By r_know in forum Excel Help
    Replies: 2
    Last Post: 06-21-2012, 11:09 PM

Posting Permissions

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