![]() |
#1
|
|||
|
|||
![]()
Morning everyone,
This is my first visit to the forum after searching hard for a "MS Word" forum online. Here is my query, see if anyone could help please. I have been trying to create a macro within word in such a manner that when a user hits Print onto the tool bar, it opens up a Printer Dialog box with certain printer and page scaling settings. For example, if a user hits "Legal" onto the toolbar, it opens up a dialog box with the printer A, which has Page Scaling set to "Legal" and Printer Tray set to "Tray2". I have tried and managed to select a certain printer and the dialog box does open but I am not sure how to setup a Page Scaling and Tray to Tray 2 within VB. I'd be really greatful if someone could kindly shed some light on this please? Here is what I did so far Code:
ActivePrinter = "HP LaserJet 4050 Series PCL 6" Application.Dialogs(wdDialogFilePrint).Show Many thanks in advance Regards Jehanzeb |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sort Macros | boutells | Excel | 1 | 07-16-2009 11:48 AM |
Macros & Passwords | paulrm906 | Excel | 0 | 03-04-2006 01:30 AM |
![]() |
Gretchen Hembree | Excel | 8 | 02-17-2006 02:56 PM |
Self Help Books for Macros? | KRB | Excel | 0 | 11-22-2005 01:33 PM |