I've been able to create a script that will look through a selected folder and export the necessary data for any email message categorized but I'd like this macro to go through ALL emails in ALL folders. The part of the For Loop that needs fixing is "For Each olkMsg In Application.ActiveExplorer.CurrentFolder.Items" which only works on the selected folder. What I'd like it to do, functionally, is the same thing that the UnifiedInbox script found on the Slipstick site does. Specificially the "myOLApp.ActiveExplorer.Search txtSearch, olSearchScopeAllOutlookItems". Unfortunately, simply changing one ActiveExplorer statement to the other throws up a syntax error (even when defining/declaring txtSearch).Any help would be appreciated.