There's nothing in the Outlook object model for that, and no access to that
dialog settings.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Candace" <Candace.TakeThisOut@discussions.microsoft.com> wrote in message
news:6D459188-737B-44F0-BD81-B7E40E9B7585@microsoft.com...
> Can someone tell me what code belongs between the two statements below in
> order to print an email to a printer called MyPrinter?
> Sub PrintToMyPrinter()
>
> End Sub
>
> I am going to assign this code to a button and put it on an Outlook
> toolbar.
> I am told that anything that can be done with menu choices can be done in
> code. Essentially this is what I would be doing if I were to use the menu
> options:
> --> File menu
> --> Print submenu
> --> use drop-down list to change the printer name to "MyPrinter"
> --> click OK
>
> However, this is cumbersome even if I only do it once a day. Changing the
> Windows default printer is not an option.
>