Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to setup a program to print on lower bin tray

I recorded a macro, but it did not include lower bin (tray 2) in the page
setup sequence.
Is there a way to set this program for a particular worksheet?

Thanks,
--
rcruz
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to setup a program to print on lower bin tray

VBA does not provide any direct support for selecting the Tray on a printer.

You would have to use the Windows API I believe or perhaps define a separate
print driver that uses tray 2.

--
Regards,
Tom Ogilvy

"jrcruzr" wrote in message
...
I recorded a macro, but it did not include lower bin (tray 2) in the page
setup sequence.
Is there a way to set this program for a particular worksheet?

Thanks,
--
rcruz



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default How to setup a program to print on lower bin tray

Sendkeys is an option although many say it's unreliable
and should be avoided. The Microsoft KB has an article
that addresses your problem:

Changing the Paper Source Using SendKeys:
http://support.microsoft.com/default.aspx?scid=135791

HTH
Jason
Atlanta, GA


-----Original Message-----
I recorded a macro, but it did not include lower bin

(tray 2) in the page
setup sequence.
Is there a way to set this program for a particular

worksheet?

Thanks,
--
rcruz
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default How to setup a program to print on lower bin tray

Set up TWO printers, 1 with one tray, another with the other.

--
Don Guillett
SalesAid Software

"jrcruzr" wrote in message
...
I recorded a macro, but it did not include lower bin (tray 2) in the page
setup sequence.
Is there a way to set this program for a particular worksheet?

Thanks,
--
rcruz



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 lower case o (Oh) print issue GT_NC Excel Discussion (Misc queries) 0 November 11th 08 09:19 PM
I need the total for highlighted cells in lower tray. bp Excel Discussion (Misc queries) 1 June 3rd 07 07:13 PM
Print Setup Michele[_2_] Excel Programming 2 May 5th 04 07:10 PM
Excel 97 VB Print Tray commands Jon Gammon Excel Programming 0 November 21st 03 01:59 PM
Print all worksheets from same tray E Jackson Excel Programming 1 August 14th 03 03:56 AM


All times are GMT +1. The time now is 07:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"