How to Group Your Received Emails by their Durations since Received in Outlook

By default, Outlook doesn’t support to group the received emails by their durations in month since received, such as 1 month, 2 months and 3 months, etc. This article will introduce how to add the related field and then re-group the received emails via Outlook VBA.

As you can see, Outlook will automatically group and sort the received emails by the received date, including “Today”, “Yesterday”, “Two Weeks Ago”, “Last Month” and “Older” and so on. Thus, some users may want to group the received mails on basis of their durations in month since the received date, such as 1 month, 2 months and 3 months, etc. Apparently, Outlook doesn’t support it in that there is no related field. Fortunately we still can achieve it with Outlook VBA. Read on to get the concrete VBA codes and the elaborate steps.

Group Received Emails by their Durations since Received

  1. To start with, launch Outlook turn to “Developer” tab.
  2. Then click on “Visual Basic” button, which will bring out a new window.
  3. Next in the popup window, open a new module and copy the following codes into it.
Public Sub AddMonthField()
    Dim olSel As Selection
    Dim obj As Object
    Dim olMail As MailItem
    Dim olProp As Outlook.UserProperty
    Dim strMonth
 
    Set olSel = Outlook.Application.ActiveExplorer.Selection
 
    On Error Resume Next
 
    For Each obj In olSel
        If TypeName(obj) = "MailItem" Then
           Set olMail = obj
           strMonth = DateDiff("m", olMail.ReceivedTime, Now)
 
           Set olProp = olMail.UserProperties.Add("Month", olNumber, True)
           olProp.Value = strMonth
           olMail.Save
        End If
    Err.Clear
    Next
End Sub

VBA Codes - Add a New Month Field

  1. After that, you can exit the “Visual Basic” window and add the new macro to the Quick Access Toolbar as usual.Add the New Macro to QAT
  2. Subsequently, you can back to your Inbox mail folder. Press “Ctrl + A” to select all of them. And then click on the new macro button in Quick Access Toolbar.
  3. Later you can switch to “View” tab and hit “View Settings” button.
  4. In the popup dialog box, click “Columns” button.
  5. Then in the new “Show Columns” dialog box, take the steps below:
  • At first, set “Select Available columns from” to “User-defined fields in Inbox”.
  • Then select “Month” from the “Available columns” box.
  • Next hit “Add” button.
  • Optionally, use “Move Up” and “Move Down” button to change the order.
  • Lastly click “OK”.Add the New Field
  1. After clicking “OK”, you will get back to “Advanced View Settings” dialog. Now hit “Group By” button.
  2. Later in “Group By” dialog box, firstly change “Select available fields from” to “User-defined fields in Inbox”, and then select “Month” from “Group items by” drop down list, and last click a series of “OK” to close all the dialog boxes.Group by Durations since Received
  3. Finally you can go back to your Inbox folder. You can see that all the emails are grouped by the number of months since their received date. Also, you can click “Month” column to select ascending or descending as per your needs.Group Your Received Emails by their Durations in Month since Received

Effectively Dispose of Vexing Outlook Errors

Outlook is susceptible to error. Moreover, if you are confronted with any errors, you’d better address them as soon as possible in that accumulating issues will lead to considerably serious consequences, such as Outlook PST mail corruption. If you have no current backups, you’ll have no choice but to employ a well-proven repair tool, like DataNumen Outlook Repair.

Author Introduction:

Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including repair corrupted SQL Server database and outlook repair software products. For more information visit www.datanumen.com

One response to “How to Group Your Received Emails by their Durations since Received in Outlook”

  1. Therefore, if you intend to gain your Russian new bride, after that appreciate her, appreciate her, assist her expand, sustain her, and also inform her exactly how great she is. There are hundreds of solitary women from the Philippines that are in Filipino New bride, as well as all of them truly just wish to be gladly married. Moreover, the team of China Love Cupid declares that thousands of solitary people from around the world have actually taken care of to discover their soulmates utilizing this service. Moreover, they desire to have youngsters as typical family worths in China call for a female to strive to come to be a mommy. You will need to buy a VIP subscription if you intend to use this dating service without any kind of limitation. The are 2 kinds of VIP membership: Gold and Platinum. You can make use of our Platinum Subscription. She will pack you a lunch for job, make certain your clothing are flawlessly ironed, and also set up a day of rest so you can break from job. Just ensure that you discover him eye-catching as well as intelligent. If you have actually ever intended to find Vietnamese bride-to-bes – matchmaking internet sites are best for you.

    The application is made specifically for smaller displays, that makes it excellent for people who prefer to make use of smartphones rather than computers. Pointers about such points as separating, dating a person of a different denomination or also a non-Christian, and also just how far to take physical affection are normal likely to be-a little bit different coming from a Christian than from other individuals. They do not even have to leave the conveniences of their home to obtain along with Vietnamese ladies. They are the excellent suit for international males that are searching for a Vietnamese partner. Utilizing your answers, 2redbeans will certainly help you to find the most appropriate partner as near you as it is possible. If you do not have sufficient time for on-line dating, get a mobile phone app for 2redbeans and start meeting Chinese girls on the move! Advanced search function. As to the forms of communication, you can begin text conversations, audio chats, as well as also video chats with other customers. It has the most up to date security actions to safeguard users from possible dangers.

    Regrettably, the majority of various other functions are just readily available to paid customers. “In my experience, dates are video game to fulfill face to face, typically for a socially distanced stroll or outside beverages. Utilizing it, you can fulfill attractive Chinese women from China as well as various other nations. However then, China itself does seem to be excessive of a shut culture and also listed below are our Chinese lady dating guidance, it might be of some assistance when you dating Chinese ladies with above dating websites. Your personality goes together with the morals that the society anticipates of you. All of us understand how staunch the Chinese people are concerning morals. This internet site is among the most prominent matchmaking service for Asian individuals. Luckily, this dating internet site is offered by Cupid Media, which is the largest matchmaking company on the net. Overall, Cherry Blossoms is a reputable matchmaking system with impeccable credibility. China Love Cupid is most likely the greatest matchmaking solution oriented for Chinese songs. Much like many other solutions used by them, China Love Cupid is available in English, German, Italian, Japanese, and also numerous other languages.

    We discuss products we assume our readers will such as. Ms. McGinty suggested making the first meeting throughout the day, like a lunch, because it has a normal end. Maintain reviewing to get more information about sensational Filipino women. A lot of Oriental ladies are exceptionally humble, and this trait is also real regarding Filipino brides. Vietnamese ladies do not conceal anything. Then a lengthy time earlier, my pal introduced me to his Vietnamese girlfriend. Have you ever had that experience, when you got a person a present then they wound up not liking it since it was not the brand name that they wanted or that they think it’s hideous? So, you ought to enable her to have the last say concerning whether she desires to take part in your strategies or not. So, in return, they will offer you the love as well as regard you deserve. These females merely can not discover real love in their country.

Leave a Reply

Your email address will not be published. Required fields are marked *