Code for the Macro :
Sub UnifiedInbox()
Dim myOlApp As New Outlook.Application
txtSearch = "folder:(Inbox)"
myOlApp.ActiveExplorer.Search txtSearch, olSearchScopeAllFolders
Set myOlApp = Nothing
End Sub
"Are you tired of switching between multiple Outlook accounts? In this tutorial, I’ll show you how to view emails from all your inboxes in just one click! ✅
We’ll cover:
Enabling Developer Mode in Outlook
Creating and saving a macro
Adding the macro to the Ribbon for easy access
Configuring Macro settings for smooth operation
WEBSITE : : www.googlytek.com
SUBSCRIBE TO OUR CHANNEL : / googlytekschool
FOLLOW ON FB : / googlytek
FOLLOW ON TWITTER : / googlytek