Hi all,
I will start by saying I am very very new to using scripts and Macros in outlook. What I have so far is a Macro code to add in the current date to the subject line of an email when I select it. I would like to take this further by not only adding the Sender, but use the the entire script as a rule for incoming emails to auto add the sender and date when the email is recieved . Heres what I have for the date script, and Im lost where to go from here. Any help would be greatly appreciated!
Sub Test()
Dim MItem As MailItem
On Error GoTo ExitPoint
For Each MItem In ActiveExplorer.Selection
MItem.Subject = Date & " " & MItem.Subject
Next
ExitPoint:
End Sub
↧