View Single Post
  #2  
Old August 11th 06, 06:32 AM posted to microsoft.public.outlook.printing,microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Help with Print Macro

Am 10 Aug 2006 12:46:55 -0700 schrieb :

Public Sub PrintMail()
Dim obj as Object
Set obj=Application.ActiveExplorer.Selection(1)
obj.Display
obj.Printout
End Sub

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.VBOffice.net --


Hello,

I recently installed internet explorer 7 beta 3 update to my system and
I'm having a problem printing emails from the preview pane. However I
can print the email if I open it (doulbe click) and then print it.

Doesn't look like microsoft has a fix for this yet so I was hoping
someone can help me with a work around - create a macro that would open
an email (already selected), print it and then close the email. Pretty
simple, but outlook doesn't have a macro recorder so I have no idea how
to write this.

So can someone provide me with the code I need to do this. Again the
situation would be that I have the email already highlighted in the
preview plane and I'd like to have the marco open the email, print it
and then close it.

Thanks,
Dan

Ads