Articles → VBA FOR OUTLOOK → Call a VB script in a rule in outlook

Call a VB script in a rule in outlook






Prerequisite













Click to Enlarge




Create a VBA script









Click to Enlarge




Click to Enlarge





Sub MyMethod(Item As Outlook.MailItem)
	MsgBox "Hi"
End Sub





Click to Enlarge


Create rule









Click to Enlarge




Click to Enlarge






Click to Enlarge






Click to Enlarge






Click to Enlarge




Output





Click to Enlarge

Posted By  -  Karan Gupta
 
Posted On  -  Sunday, October 21, 2018

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250