Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2009, 04:43 AM
Jehanzeb Jehanzeb is offline Macros in Word Windows XP Macros in Word Office 2003
Novice
Macros in Word
 
Join Date: Nov 2009
Posts: 1
Jehanzeb is on a distinguished road
Default Macros in Word

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
Reply With Quote
Reply



Similar Threads
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
Macros problem with XP Gretchen Hembree Excel 8 02-17-2006 02:56 PM
Self Help Books for Macros? KRB Excel 0 11-22-2005 01:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft