View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Colo Colo is offline
external usenet poster
 
Posts: 62
Default Recording Page Setup macro

Hi Scott,

As you wrote, the print driver is not part of Excel.
So why don't you add a new printer (from control panel) with setting bypass
tray, and choose it via macro?


--
Kind Regards
Colo
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Colo of 'The Road of The Cell Masters' :)

URL:http://www.interq.or.jp/sun/puremis/...astersLink.htm


/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


"Scott" wrote in message
...
Greeting all:

I have a way of making the simplest things difficult.

I am trying to record a macro to format a worksheet through Page Setup.
From a formatting standpoint everything is working fine, but the formatted
sheet is legal size paper that must be fed through my printer's bypass

tray
and the process of selecting "options" in "page setup" and selecting the
bypass tray in the print driver window does not record (presumably

because
the print driver is not part of Excel).

Is there a VBA function that I can manually enter into the recorded macro

to
accomplish this?

Scott