Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Selecting paper source

I have a macro that prints to the manual feed tray. I
have the settings in the print setup to automatic select.
Is there a way via the macro to force Excel to print to
Tray 2 or whichever tray I want? I used the record new
macro and changed the paper source that way, but nothing
recorded in the macro. If not possible to force the tray,
is there any other around this.


Thanks.

Tim

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Selecting paper source


You might try my addin MultiTrayPrint

it's not faultless yet.. but works on windows XP
in a local environment. i havent worked on it for a while,
but recently I got interested again due to some questions in this ng.

So I'd love to hear your experiences , comments, suggestions etc.
Be sure to mention your setup:
Windows and Excel version, Network? or Local printer.
and if network printer install type.

Be sure to save your work before giving it a whirl.
it lives next to the standard printdialog, with a RED printer on the
toolbar and in the menu.

It allows to print 1 page from tray1 and the rest from tray3
in 1 command.

Alternatives are difficult,
You'll have to open the PrinterDialog and use sendkeys.
fully hardcoded for your own PrinterStrings and PrinterDrivers.

You absolutely cannot record the changes you make in the printerdriver's
dialog.

hope to hear more..



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Tim Gwynn" wrote:

I have a macro that prints to the manual feed tray. I
have the settings in the print setup to automatic select.
Is there a way via the macro to force Excel to print to
Tray 2 or whichever tray I want? I used the record new
macro and changed the paper source that way, but nothing
recorded in the macro. If not possible to force the tray,
is there any other around this.


Thanks.

Tim



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Selecting paper source

Hi Tim:

There is no way to do this through VBA. You would probably have to use the
Windows API to manipulate the Printer object.

Regards,

Vasant.

"Tim Gwynn" wrote in message
...
I have a macro that prints to the manual feed tray. I
have the settings in the print setup to automatic select.
Is there a way via the macro to force Excel to print to
Tray 2 or whichever tray I want? I used the record new
macro and changed the paper source that way, but nothing
recorded in the macro. If not possible to force the tray,
is there any other around this.


Thanks.

Tim



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
mouse point changes to paper with bent edge when selecting workshe Ellen Excel Discussion (Misc queries) 0 December 4th 09 09:45 PM
How to change the printer paper source for all worksheets in a wrk Joe Excel Discussion (Misc queries) 14 October 18th 07 10:43 PM
Selecting Various Values for One Source [email protected] Excel Discussion (Misc queries) 3 June 16th 06 09:45 PM
Pivot Table data source "data source contains no visible tables" Jane Excel Worksheet Functions 0 September 29th 05 08:28 PM
How can i set the source-data-range of pivottable2 to the source . Piet Excel Discussion (Misc queries) 0 March 5th 05 09:31 PM


All times are GMT +1. The time now is 02:04 AM.

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

About Us

"It's about Microsoft Excel"