A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

printing



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old August 12th 06, 06:47 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default printing

If you have a reference to the Microsoft Word library in your VBA project, all you have to do is search for ActivePrinter in the object browser (F2 in VBA). For any selected object, method, property, etc., press F1 to see its Help topic.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Joel Allen" wrote in message news:xZmDg.468$Ji1.264@trnddc05...
I'm sorry, can you help me just a little more. I want to learn.

Would I find that in the Object Browser? If you could just point me a
little further where to find options for the Word's
Application.ActivePrinter properties it would be much appriciated.

THanks,
Joel

"Sue Mosher [MVP-Outlook]" wrote in message
...
Take a look at Word's Application.ActivePrinter property.

"Joel Allen" wrote in message
...
Hello,

I have this bit of code that opens the file, prints it, and close it:

objDoc.Application.Options.PrintBackground = True

objDoc.PrintOut

objDoc.Close wdDoNotSaveChanges



How can I choose a specific printer?

How can I bypass warnings from the word document like "The margins are set
outside of the printable area"?



Thanks,

Joel




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing emails Pastor Ron Outlook Express 3 June 26th 06 11:36 PM
Monthly calendar + printing--O2000 // printing end time ? philmail Outlook - Calandaring 0 June 6th 06 02:01 PM
Printing options jjyou32 Outlook - General Queries 0 June 1st 06 04:45 PM
Printing Appointments Barstool Prophet Outlook - Calandaring 0 May 29th 06 03:20 PM
3 Week Printing Matthew Loraditch Outlook - Calandaring 3 May 28th 06 05:13 AM


All times are GMT +1. The time now is 04:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.