Any way to force sort by/group by on search results with VBA?

ajkessel

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Exchange Server
Is there any VBA code that will take the current Outlook search results and apply a "sort" and/or "group by" on those results?

When search results span many folders, it takes several steps to add the "folder" field back into the results and then "group by" that field. Is there some way to automate it? It doesn't seem like "group by in folder" is "sticky" with pre-configured views.
 
Similar threads
Thread starter Title Forum Replies Date
R How to force Outlook to use plain text in notes for Contacts? Using Outlook 1
O Outlook 365 - Gmail and Outlook: how to force Outlook to start up in Gmail? Using Outlook 2
A force outlook to default to MY calendar Using Outlook 3
B Programmatically force html send and insert clipboard contents into body Outlook VBA and Custom Forms 0
O Force account selection for sending reply emails Using Outlook 1
C Force account selection - no reg path nor can create one Using Outlook 9
D How to force full message download for all Gmail messages in all folders with IMAP in Outlook 2013 Using Outlook 1
D Updating Registry to force new task and note items to save in a particular folder Using Outlook 1
S Force Outlook to use TCP Using Outlook 1
C Defer email delivery - but when force sent using F9 Using Outlook 1
R Force use of general outbox Using Outlook 1
F force new meetings and appointments to send from my IMAP account Using Outlook 7
A How can I force Outlook 2003 to use A4 paper? Using Outlook 6
J Force the 'From' account Using Outlook 1
witzker print-list-of-outlook-folders with sort posibility Outlook VBA and Custom Forms 7
King Mustard Sort search groups by amount of items? Using Outlook 1
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
D Sort Problem with Sent Folders Using Outlook 1
D [TOOL] QuickModules to sort emails very quickly to multiple folders Outlook VBA and Custom Forms 1
E Outlook 2010 Subject sort uses Thread-Topic for grouping Using Outlook 2
A Sort emails into subfolders based on sender and deleting emails automatically Outlook VBA and Custom Forms 3
Diane Poremsky Sort messages by Sender domain Using Outlook 1
J Can I sort meeting requests by the date of meeting? Using Outlook 4
T VBA to Sort Rules [A-Z] - code provided Outlook VBA and Custom Forms 9
P Is it possible to sort emails by COUNT of "From" field? Using Outlook 2
L Sort bar at top of inbox preview outlook 2013 Using Outlook 1
C Outlook 2010, Need to restrict domain users from installing any sort of a addin in outlook Using Outlook 2
J How to sort incoming email that is sent to a different address to my main one? Using Outlook 1
D Contacts Sort Order Using Outlook 0
kburrows Office 365 - Contacts Sort First, Last instead of Last, First. How to Reset? Using Outlook 4
I 2013 Calendar sort date Using Outlook 3
F Not keep sort order after re-change column Using Outlook 1
J outlook having sort by date or from unable to display sender name. Using Outlook 2
J Macro to periodically sort emails by flag status? Using Outlook 1
2 Sort taks by folder then by date? Using Outlook 5
S Outlook 2007 Sort Column Shading Using Outlook 1
S Public FolderEmail Sort Problems Outlook 2010/Migration from 2003 SBS to 2011S Using Outlook 3
D Sort e-mail by sender's domain - Outlook 2007 Using Outlook 2
B outlook sort by Using Outlook 2
A Sorting of existing contact in Outlook 2003 just will not sort Using Outlook 2
J Outlook 2010 Inbox sort FROM column not working Using Outlook 29
S changing number sort BCM (Business Contact Manager) 1
B Macro to Change sort and collapse groups in Mail folder Outlook VBA and Custom Forms 9
L Interating throught a task list, respecting sort rules in the view Outlook VBA and Custom Forms 1
A How to Sort by Unread and then Read mail in Outlook 2007 Using Outlook 7
S How do i sort email by Domain? Outlook VBA and Custom Forms 2
K sort over flagstatus Outlook VBA and Custom Forms 4
A Links in email getting error message about group policy Using Outlook 4
Geldner Send / Receive a particular group via macro or single keypress Using Outlook 1
S Outlook 365 Shared mailbox contact group member numbers not matching Using Outlook 0

Similar threads

Top