Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    May 2001
    Location
    Detroit-Metro, MI
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Outlook2000 Print Macro (Outlook2000 VBA)

    Having read through a hundred old posts on similar topics, I'm not too optimistic that this simple task can be easily done. But, here it is:

    I'd like to create a macro that mimics the Print button on Outlook's toolbar, except select a different printer than the current default. I'd also like to possibly set other parameters of the Print dialog window, as well. I'm not necessarily looking to directly set any properties of a specific printer. But, I might like to include a command to bring up the "Properties" window (the button next to the printer name) and then halt to let the user take it from there. Any hints on VBA code to do that???

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Outlook2000 Print Macro (Outlook2000 VBA)

    Hi,
    As far as I'm aware the only print method in the Outlook object model is the PrintOut method which, as I'm sure you've found, just uses default settings. I guess that pretty much leaves you with using File-Print or some nasty API work! If anyone can tell me otherwise, I'd be very happy to hear it! <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    New Lounger
    Join Date
    May 2001
    Location
    Detroit-Metro, MI
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Outlook2000 Print Macro (Outlook2000 VBA)

    Thanks for the quick response. Actually, right after I posted the question, I found a reference in the VB help file that says exactly that. But, I still can't hardly believe it! I've got a macro that works so well in other Office applications. The shortcomings of Outlook VBA will never cease to amaze me.

    Thanks anyway. <img src=/S/igiveup.gif border=0 alt=igiveup width=31 height=23>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •