Outlook - How To Set-Up a Unified Mailbox

From Micylou WIKI
Revision as of 13:47, 14 April 2021 by DochyJP (talk | contribs) (Text replacement - "<!-- End of Template Infobox Generic--> " to "<!-- End of Template Infobox Generic--> [{{fullurl:{{FULLPAGENAMEE}}|action=mpdf}} Download this page as PDF]")
Jump to navigation Jump to search
Source: DataSource
Language: English
Topic: Microsoft
SubTopic: Outlook
Last Edit By: DochyJP
LastEdit: 2021-04-14
Document type: Documentation
Status: Active
Access: free

Download this page as PDF When you have multiple accounts (and therefore emails) set up in Outlook, Microsoft does not have (yet) the functionality to view all messages in all inboxes at once.

This shows you how to do it.

Open your Visual Basic Editor (alt-F11) and create the following macro :

Sub UnifiedInbox()
Dim myOlApp As New Outlook.Application
txtSearch = "folder:Inbox received: (this week)"
myOlApp.ActiveExplorer.Search txtSearch, olSearchScopeAllFolders
Set myOlApp = Nothing
End Sub

You can do the same for displaying ALL sent items from all mailboxes at once too :

Sub UnifiedSentbox()
Dim myOlApp As New Outlook.Application
txtSearch = "folder: (Sent Mail) sent: (this week)"
myOlApp.ActiveExplorer.Search txtSearch, olSearchScopeAllFolders
Set myOlApp = Nothing
End Sub

From there, open the visualisation of your macros (alt-F8) and choose the query to run.

It is that easy !