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 - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Help with Print Macro



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 10th 06, 09:46 PM posted to microsoft.public.outlook.printing,microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.outlook.program_vba,microsoft.public.outlook.usage
[email protected]
external usenet poster
 
Posts: 7
Default Help with Print Macro

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

  #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

 




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
vba macro to print email and attachments outlook 2000 Dan over in IT Outlook and VBA 2 June 7th 06 09:08 PM
D-Link DP-301U print server will not print from Outlook, OE, or Firefox KLS Outlook - General Queries 2 March 22nd 06 12:52 PM
D-Link DP-301U print server will not print from Outlook, OE, or Firefox KLS Outlook Express 4 March 22nd 06 04:14 AM
Print Preview and Print Untyped messages dhknoxville Outlook - Installation 2 March 10th 06 04:51 PM
Macro to open, retrieve contents, print, and loop through process Michelle Marie Outlook and VBA 2 February 24th 06 10:39 AM


All times are GMT +1. The time now is 08:36 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.