Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jan 2004
    Posts
    196
    Thanks
    1
    Thanked 0 Times in 0 Posts

    specify paper tray (2003)

    Can someone tell me how to specify paper tray 2 in a macro?
    thanks
    jackal

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: specify paper tray (2003)

    Excel VBA does not support selecting a paper tray, so the best way to do this is to create a new printer definition that prints to tray #2, and set the ActivePrinter in VBA to this printer. The best way to get the exact name of the printer is to record a macro of printing to it; the macro will include a line

    Application.ActivePrinter = "..."

    Use this line in your own code.

Posting Permissions

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