Using Outlook VBA, we can automate variety of Outlook tasks, retrieve data from emails, calendar, contact address book, create note, etc. If you use Outlook to manage your e-mail, one of the things you do almost daily is searching e-mails. In this tutorial I will be showing you how to properly search an email/emails using Outlook VBA.

Exchange Store Schema documentation link

Items.Restrict method documentation (different query examples) link

Mailitem object documentation link

VBA Script