michaelfaulkner
MIS
Someone wrote a simple macro that prints all unread mail in an Outlook folder. The issue is that I want the printed documents to be printed sorted by subject field.
Below is the simple code for printing..
For Each oMailItem In oFolder.Items
If oMailItem.UnRead Then
' print
Call oMailItem.PrintOut
There is a Subject item defined in the macro for other uses that could be used.
Dim sSubject
sSubject = oMailItem.Subject
Thanks for any help -- I don't program.. obviously (-:
Below is the simple code for printing..
For Each oMailItem In oFolder.Items
If oMailItem.UnRead Then
Call oMailItem.PrintOut
There is a Subject item defined in the macro for other uses that could be used.
Dim sSubject
sSubject = oMailItem.Subject
Thanks for any help -- I don't program.. obviously (-: