Here is what the inbox looks like (where Aqua-Net, Microsoft, Philipps and Sony are the clients and the numbers 20345, 20389, etc are the ref#s): The subject lines look like this: Ref#20345 - Aqua-Net - Customer Satisfaction Email - FR. RE: Ref#20389. It's my first post in this group. this means I'm newest in VBA programming. I want one macro for Outlook that moves one email from inbox to one inbox subfolder based in some subject words. I do the following code that I think work, but I don't know how to call the procedure "Move Mail" /vba Sub MoveMail(Item As Outlook.MailItem) With Item. Moving emails to a folder based on the sender: Sign into Outlook and select and email sent by the relevant sender. In the search bar, type 'rule'. When the option for 'Rule' appears, hover the mouse over it. From the drop down menu, select 'Always move messages from:'. Select the folder you want to move the emails from this sender to.. Set oFolder = Application.Session.