메인 컨텐츠로 가기

Outlook에서 월별로 이메일을 그룹화하고 정렬하는 방법은 무엇입니까?

이메일은 기본적으로 Outlook의받은 편지함에 수신 된 날짜별로 정렬됩니다. 그러나받은 월별로 모든 이메일을 정렬하거나 그룹화하는 명령은 없습니다. 여기에서는 Outlook에서 모든 이메일을 월별로 그룹화하고 정렬하는 방법을 소개합니다.

VBA 코드를 사용하여 Outlook에서 월별로 이메일 그룹화 또는 정렬


VBA 코드를 사용하여 Outlook에서 월별로 이메일 그룹화 또는 정렬

이 방법은 Month라는 새 열을 만들고 VBA 매크로를 적용하여 수신 된 월을 새 열로 추출한 다음 Outlook의 Month 열을 기준으로 모든 전자 메일을 정렬하거나 그룹화하도록 안내합니다.

1.  월별로 이메일을 정렬하거나 그룹화 할 메일 폴더를 열고 설정보기 온 버튼 관측 Outlook 2010 이상 버전의 탭.

월별 문서 정렬 이메일 1

참고 : Outlook 2007에서는 관측 > 현재보기 > 현재보기 사용자 지정.

2. 앞으로 고급보기 설정 /보기 사용자 지정 대화 상자에서 버튼 (또는 Fields 단추).

월별 문서 정렬 이메일 2

3. 에서 열 / 필드 표시 대화 상자에서 새 열 버튼 (또는 새 필드 버튼)을 눌러 새 열 / 필드 대화 상자를 열고 다음을 입력합니다. FBI 증오 범죄 보고서 성함 상자, 유지 본문 둘 다에서 선택 타입 상자와 형성 상자를 클릭 한 다음 OK 단추. 아래 스크린 샷을 참조하십시오.

월별 문서 정렬 이메일 3

4.  이제 다시 열 / 필드 표시 대화 상자에서 클릭하여 항목 이 열 표시 (또는 Fields) 이 순서대로 상자 아래로 이동 수상 클릭하여 위로 이동 버튼을 클릭하고 마지막으로 OK 버튼을 클릭합니다.

월별 문서 정렬 이메일 4

5. 클릭 OK 버튼을 눌러 고급보기 설정 /보기 사용자 지정 대화 상자.

6. 이메일을 선택하여 여는 폴더의 모든 이메일을 선택한 다음 Ctrl 키 + A 키를 동시에 누릅니다.

주의 사항: 독서 창 켜져 있습니다. 클릭하여 닫으십시오. 관측 > 독서 창 > 떨어져서.

7. 열기 응용 프로그램 용 Microsoft Visual Basic 눌러 창 다른 + F11 그 동안 키를 누른 다음 끼워 넣다 > 모듈.

8. 다음 VBA 매크로를 모듈에 붙여 넣습니다.

VBA : 월별로 이메일 정렬 또는 그룹화

Sub ListSelectionMonth()
	Dim aObj As Object
	Dim oProp As Outlook.UserProperty
	Dim sMonth
	
	On Error Resume Next
	
	For Each aObj In Application.ActiveExplorer.Selection
		Set oMail = aObj
		
		sMonth = Month(oMail.ReceivedTime)
		Set oProp = oMail.UserProperties.Add("Month", olText, True)
		oProp.Value = sMonth
		oMail.Save
		
		Err.Clear
	Next
	
End Sub

9. 눌러 F5 이 VBA 매크로를 실행하려면 키를 누르십시오.

10. 이제 각 이메일 수신 월은 다음으로 추출됩니다. 기둥. 이 여는 폴더의 모든 이메일을 월별로 정렬하려면 열 헤더를 클릭하십시오. . 스크린 샷보기 :

월별 문서 정렬 이메일 5

주의 사항:이 여는 폴더에서 모든 이메일을 월별로 그룹화하려면 열 헤더를 마우스 오른쪽 버튼으로 클릭합니다. 을 선택한 다음 이 필드로 그룹화 오른쪽 클릭 메뉴에서. 스크린 샷보기 :

월별 문서 정렬 이메일 6


최고의 사무 생산성 도구

Outlook 용 Kutools - 귀하의 전망을 강화하는 100개 이상의 강력한 기능

🤖 AI 메일 도우미: AI 마법이 적용된 즉각적인 전문가 이메일 - 원클릭으로 천재적인 답변, 완벽한 어조, 다국어 숙달이 가능합니다. 손쉽게 이메일을 변환하세요! ...

📧 이메일 자동화: 부재중(POP 및 IMAP에서 사용 가능)  /  이메일 보내기 예약  /  이메일 발송 시 규칙에 따른 자동 참조/숨은참조  /  자동 전달(고급 규칙)   /  인사말 자동 추가   /  여러 수신자 이메일을 개별 메시지로 자동 분할 ...

📨 이메일 관리: 이메일을 쉽게 기억할 수 있습니다.  /  제목 및 기타 사기 이메일 차단  /  중복 이메일 삭제  /  고급 검색  /  폴더 통합 ...

📁 첨부 파일 프로일괄 저장  /  일괄 분리  /  일괄 압축  /  자동 저장   /  자동 분리  /  자동 압축 ...

🌟 인터페이스 매직: 😊더 예쁘고 멋진 이모티콘   /  탭 보기로 Outlook 생산성 향상  /  문을 닫는 대신 전망을 최소화하세요 ...

???? 원클릭 불가사의: 수신 첨부 파일과 함께 전체 회신  /   피싱 방지 이메일  /  🕘발신자의 시간대 표시 ...

👩🏼‍🤝‍👩🏻 연락처 및 캘린더: 선택한 이메일에서 연락처 일괄 추가  /  연락처 그룹을 개별 그룹으로 분할  /  생일 알림 제거 ...

이상 100 특징 당신의 탐험을 기다려주세요! 더 알아보려면 여기를 클릭하세요.

 

 

Comments (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have Outlook 2007 and have try that VBA. First I did have the problem that only 1 E-Mail of all get the month show.
I needed to mark all E-Mails first and then push in VBA F5 to show in all E-Mails the month.

a bad part of that code is that all month (1, 2, 3, 4, 5, 6, 7, 8, 9) get grouped on the wrong position in front of 10, 11, 12
is there any additional VBA sequence what add to the first 9 Month a 0? ergo 01, 02, 03 etc?

as I have several years in some folders it make sense to group those E-Mails first by year and after that by Month.
This comment was minimized by the moderator on the site
Strange.
Made a restart. Now it works.Sorry for bothering.
Thx again :) <3
This comment was minimized by the moderator on the site
Sorry. Didn't saw that the page is origin in english. #emabarrased
Google translate is getting better. :D
Hello from Hamburg,
great stuff. Thanks for this. :)
Only a small problem.
I had first adapted the code so that it puts the year and month together for me.

Sub ListSelectionYearMonth()
Dim aObj As Object
Dim oProp As Outlook.UserProperty
Dim oMail As Object
Dim sMonth
Dim sYear
Dim sYearMonth

On Error Resume Next

For Each aObj In Application.ActiveExplorer.Selection
Set oMail = aObj

sMonth = Month(oMail.ReceivedTime)
sYear = Year(oMail.ReceivedTime)

If sMonth < 10 Then
sMonth = 0 & sMonth
Else
sMonth = sMonth
End If

sYearMonth = sYear & "/" & sMonth
Set oProp = oMail.UserProperties.Add("YearMonth", olText, True)
oProp.Value = sYearMonth
oMail.Save

Err.Clear
Next

End Sub

This worked wonderfully.
Now I noticed in a folder that a grouping first by year and then by month increases the clarity.
I used the original code.
However, the column there remains empty.

Sub ListSelectionMonth()
Dim aObj As Object
Dim oProp As Outlook.UserProperty
Dim oMail As Object
Dim sMonth

On Error Resume Next

For Each aObj In Application.ActiveExplorer.Selection
Set oMail = aObj

sMonth = Month(oMail.ReceivedTime)

If sMonth < 10 Then
sMonth = 0 & sMonth
Else
sMonth = sMonth
End If

Set oProp = oMail.UserProperties.Add("Month", olText, True)
oProp.Value = sMonth
oMail.Save

Err.Clear
Next

End Sub

I'm a bit perplexed at the moment.

Glad about any advice

VG
Armin


Translated with http://www.DeepL.com/Translator (free version)
This comment was minimized by the moderator on the site
Hallo aus Hamburg,super Sache. Danke dafür. :)Kleines Problem nur.Ich hatte zuerst den Code so angepasst das er mir Jahr und Monat zusammensetzt.
Sub ListSelectionYearMonth()
Dim aObj As Object
Dim oProp As Outlook.UserProperty
Dim oMail As Object
Dim sMonth
Dim sYear
Dim sYearMonth

On Error Resume Next

For Each aObj In Application.ActiveExplorer.Selection
Set oMail = aObj

sMonth = Month(oMail.ReceivedTime)
sYear = Year(oMail.ReceivedTime)

If sMonth < 10 Then
sMonth = 0 & sMonth
Else
sMonth = sMonth
End If

sYearMonth = sYear & "/" & sMonth
Set oProp = oMail.UserProperties.Add("JahrMonat", olText, True)
oProp.Value = sYearMonth
oMail.Save

Err.Clear
Next

End Sub

Hat wunderbar geklappt.Nun ist mir in einem Ordner aufgefallen das eine Gruppierung zuersnach Jahr und dann nach Monat die Übersichtlichkeit noch erhöht.Habe als den ursprünglichen Code genommen.Dort bleibt dann allerdings die Spalte leer.
Sub ListSelectionMonth()
Dim aObj As Object
Dim oProp As Outlook.UserProperty
Dim oMail As Object
Dim sMonth

On Error Resume Next

For Each aObj In Application.ActiveExplorer.Selection
Set oMail = aObj

sMonth = Month(oMail.ReceivedTime)

If sMonth < 10 Then
sMonth = 0 & sMonth
Else
sMonth = sMonth
End If

Set oProp = oMail.UserProperties.Add("Monat", olText, True)
oProp.Value = sMonth
oMail.Save

Err.Clear
Next

End Sub

Macht mich grad etwas ratlos.
Freue mich über jeden Rat
VGArmin
This comment was minimized by the moderator on the site
This will also help.
This comment was minimized by the moderator on the site
The code works as in the article. But it does not apply to new letters. Every time you need to go to the created module in the Visual Basik and press F5.
This comment was minimized by the moderator on the site
I used the above vba and let me begin by saying this does help in micro management which is not available by default. this is beneficial for archival and storage and not something supposed to work automatically for incoming email. I was able to modify this a bit and also add a year column. So for all emails I was able to get a month and year so that I can group and then regroup (by year and then by month). What I did find however is there is some kind of limitation to the number of items it goes through and then exists (not sure why). For example if I were to select a folder with 18k-19k emails, it will loop only through some and then at the end of the run it will not update all the emails with the required. However if you run in smaller batches then it runs perfectly fine. The painful part here is to keep on selecting in batches. This is a pain for people like me who wish to manage or rather arrange years or emails that runs in a 6 figures in numbers. Anyone here been able to figure this out out or willing to go on a troubleshooting spree to fix this or how this can be addressed ?
This comment was minimized by the moderator on the site
That is, I want to group mails by subject and put the group with maximum mails on the top. How can I do that?
This comment was minimized by the moderator on the site
I want to :

1. Group mails by subject

2. Sort them by number of e-mails inside the group

How can I do achieve this?
This comment was minimized by the moderator on the site
I want this too
This comment was minimized by the moderator on the site
Is it possible to create VBA macro to group and sort emails by week?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations