Ugrás a tartalomra

Hogyan lehet e-maileket csoportosítani és havonta rendezni az Outlookban?

Az e-maileket alapértelmezés szerint a beérkezett dátum szerint rendezik az Outlook Beérkező levelek mappájában. Nincs azonban parancs az összes e-mail rendezésére vagy csoportosítására a beérkezett hónap szerint. Itt bemutatom az összes e-mail csoportosítását és havi rendezését az Outlookban.

Csoportosítsa vagy rendezze az e-maileket havonta az Outlookban a VBA kód használatával


Csoportosítsa vagy rendezze az e-maileket havonta az Outlookban a VBA kód használatával

Ez a módszer arra ösztönzi Önt, hogy hozzon létre egy új Hónap nevű oszlopot, majd alkalmazzon egy VBA makrót a beérkezett hónap kivonására az új oszlopba, majd az összes e-mailt az Outlook Hónap oszlopának megfelelően rendezheti vagy csoportosíthatja.

1.  Nyisson meg egy e-mail mappát, ahol havonta rendezni vagy csoportosítani az e-maileket, majd kattintson a gombra Beállítások megtekintése gombot a Megnézem lap az Outlook 2010 és újabb verzióiban.

doc rendezi az e-maileket 1. hónap szerint

Jegyzet: Az Outlook 2007 alkalmazásban kattintson a gombra Megnézem > Aktuális nézet > Az aktuális nézet testreszabása.

2. A jövőben Speciális nézetbeállítások / Nézet testreszabása párbeszédpanelen kattintson a Oszlopok gomb (vagy Fields gomb).

doc rendezi az e-maileket 2. hónap szerint

3. Ban,-ben Oszlop / mezők megjelenítése párbeszédpanelen kattintson a Új oszlop gomb (vagy Új mező gomb) az Új oszlop / mező párbeszédpanel megnyitásához, írja be Hónap a Név doboz, tartsd meg szöveg mindkettőben kiválasztva típus doboz és kialakított jelölőnégyzetet, majd kattintson a gombra OK gomb. Lásd az alábbi képernyőképet:

doc rendezi az e-maileket 3. hónap szerint

4.  Most térjen vissza a Oszlopok / mezők megjelenítése párbeszédpanelen kattintson a gombra Hónap elem a Mutassa meg ezeket az oszlopokat (Vagy Fields) ebben a sorrendben négyzetet, és mozgassa a Fogadott kattintson a Mozgás felfelé gombra, és végül kattintson a OK gombot.

doc rendezi az e-maileket 4. hónap szerint

5. Kattints a OK gombot a bezáráshoz Speciális nézetbeállítások / Nézet testreszabása párbeszédablak.

6. Jelölje ki az összes e-mailt a megnyitó mappában, jelölje ki az e-maileket, majd nyomja meg a Ctrl + A gombokat egyszerre.

Megjegyzések: Ha a Pane olvasása bekapcsol, zárja be a gombra kattintva Megnézem > Pane olvasása > le.

7. Nyissa meg a Microsoft Visual Basic for Applications ablakot a más + F11 időközben, majd kattintson a gombra betétlap > Modulok.

8. Illessze be a következő VBA makrót a modulba:

VBA: E-mailek rendezése vagy csoportosítása hónapok szerint

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. megnyomni a F5 kulcs a VBA makró futtatásához.

10. Most minden e-mail beérkezett hónapját a következőkbe vonjuk ki Hónap oszlop. Az összes e-mail havi rendezéséhez ebben a nyitó mappában kattintson a (z) oszlopfejlécre Hónap. Lásd a képernyőképet:

doc rendezi az e-maileket 5. hónap szerint

Megjegyzések: Ha minden e-mailt hónaponként szeretne csoportosítani ebben a megnyitó mappában, kattintson a jobb gombbal a (z) oszlop fejlécére Hónap, majd válassza ki a Csoportosítás e mező szerint a jobb egérgombbal kattintva. Lásd a képernyőképet:

doc rendezi az e-maileket 6. hónap szerint


A legjobb irodai hatékonyságnövelő eszközök

Kutools az Outlook számára - Több mint 100 hatékony funkció az Outlook feltöltéséhez

🤖 AI Mail Assistant: Azonnali profi e-mailek mesterséges intelligencia varázslattal – egyetlen kattintással zseniális válaszok, tökéletes hangnem, többnyelvű elsajátítás. Alakítsa át az e-mailezést könnyedén! ...

???? E-mail automatizálás: Hivatalon kívül (POP és IMAP esetén elérhető)  /  Ütemezze az e-mailek küldését  /  Automatikus CC/BCC szabályok szerint e-mail küldésekor  /  Automatikus továbbítás (Speciális szabályok)   /  Automatikus üdvözlet hozzáadása   /  A több címzettnek szóló e-mailek automatikus felosztása egyedi üzenetekre ...

📨 Email Management: Könnyen visszahívhatja az e-maileket  /  Blokkolja az alanyok és mások átverő e-mailjeit  /  Törölje az ismétlődő e-maileket  /  Részletes keresés  /  Mappák összevonása ...

📁 Attachments ProKötegelt mentés  /  Batch Detach  /  Batch tömörítés  /  Automatikus mentés   /  Automatikus leválasztás  /  Automatikus tömörítés ...

🌟 Interface Magic: 😊További szép és menő hangulatjelek   /  Növelje Outlook termelékenységét a füles nézetekkel  /  Minimalizálja az Outlookot a bezárás helyett ...

👍 Csodák egy kattintással: Válasz mindenkinek a bejövő mellékletekkel  /   Adathalászat elleni e-mailek  /  🕘A feladó időzónájának megjelenítése ...

👩🏼‍🤝‍👩🏻 Névjegyek és naptár: Névjegyek kötegelt hozzáadása a kiválasztott e-mailekből  /  Egy kapcsolattartó csoport felosztása egyéni csoportokra  /  Távolítsa el a születésnapi emlékeztetőket ...

Több, mint 100 Jellemzők Várja felfedezését! Kattintson ide, ha többet szeretne megtudni.

 

 

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