![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello.
I have never programed a macro in for outlook, but I am reasonably experienced with programing VB for use in excel. At any rate... is there a way to print all of the most recent emails in a folder that have the same subject? Goal: I have a few hundered emails that I would like to print, and many of them are just strings "back and forth correspondence" regarding the same subject. I know that if I print the most recent of the string, all of the previous messages are included at the bottom. However, I do not have the time to manually find the most recent email. Any help would be great. Thanks. |
Ads |
#2
|
|||
|
|||
![]() For one specific subject that could look like this: Dim Folder as Outlook.Mapifolder Dim Items as Outlook.Items Dim restricted as Outlook.Items set Folder=Application.Session.GetDefaultFolder(olFold erInbox) Set Items=Folder.Items Set Restricted=Items.Restrict("[Conversation]=" & chr(34) & "Subject here" & chr(34) If Restricted.Count Then Restrict.Sort "[ReceivedTime"], True Restricted(1).PrintOut Endif -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Thu, 24 May 2007 11:13:01 -0700 schrieb ToddEZ: Hello. I have never programed a macro in for outlook, but I am reasonably experienced with programing VB for use in excel. At any rate... is there a way to print all of the most recent emails in a folder that have the same subject? Goal: I have a few hundered emails that I would like to print, and many of them are just strings "back and forth correspondence" regarding the same subject. I know that if I print the most recent of the string, all of the previous messages are included at the bottom. However, I do not have the time to manually find the most recent email. Any help would be great. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Print an email without the subject, to, etc at the top | sklett | Outlook - General Queries | 2 | December 19th 06 12:51 AM |
sending to most recent sent email address | aksaks | Outlook - Using Contacts | 1 | November 20th 06 03:38 PM |
outlook express hangs following receipt of recent email | Allison | Outlook Express | 4 | May 21st 06 08:38 PM |
Allow copy/move most recent email from a Conversation thread | Kumarresen Kannadiapalayam | Outlook - Using Contacts | 1 | May 4th 06 05:18 PM |
Lost all recent email? Maybe not... | Gary | Outlook Express | 5 | April 13th 06 01:39 PM |