Now my code looks as below if I am reading date from mail body not subject
Sub ConvertMailtoTask(Item As Outlook.MailItem)
Dim objAppt As Outlook.AppointmentItem
Dim Reg1 As Object
Dim M1 As Object
Dim M As Object
Set Reg1 = CreateObject("VBScript.RegExp")...
Thanks Diane for the quick reply.
Sorry small change in the question. Actaully date comes in Message Body and in below format.
The bla blaa milestone is due in 2 days on Friday, 27 February 2015.
Can we do this using above script.
What I am trying to do is create an calendar event from mail subject line as below.
If I receive any mail with subject line as Due Date:01/01/2015 it should create a event in calendar and also alert me whenever that date and time occurs.
Is this possible by rule or macro? Any help...