Skip i'r prif gynnwys

Sut i ddidoli a grwpio yn ôl parth anfonwr yn Outlook?

Fel rheol, gallwn yn hawdd drefnu pob neges e-bost yn ôl anfonwr, categorïau, pynciau, maint, ac ati yn Microsoft Outlook. Fodd bynnag, mae'n ymddangos yn amhosibl didoli neu grwpio negeseuon e-bost yn ôl parthau anfonwyr, oherwydd nid oes maes parth Anfonwr ar gyfer negeseuon e-bost o gwbl. Yma, byddaf yn cyflwyno cod VBA i'ch helpu chi i ychwanegu colofn Parth ar gyfer negeseuon e-bost, yna didoli a grwpio'r negeseuon e-bost yn ôl y parthau anfonwr yn hawdd yn Outlook.

Tab Office - Galluogi Golygu a Phori Tabiau yn Microsoft Office, Gwneud Gwaith yn Awel
Kutools ar gyfer Outlook - Hwb Outlook gyda 100 + Nodweddion Uwch ar gyfer Effeithlonrwydd Superior
Rhowch hwb i'ch Outlook 2021 - 2010 neu Outlook 365 gyda'r nodweddion uwch hyn. Mwynhewch dreial cynhwysfawr am ddim 60 diwrnod a dyrchafwch eich profiad e-bost!

I ddidoli a grwpio negeseuon e-bost yn ôl parthau anfonwyr yn Microsoft Outlook 2013 a 2010, gwnewch fel a ganlyn:

Cam 1: Agorwch y ffolder post lle byddwch chi'n didoli pob neges e-bost yn ôl parthau anfonwyr.

Cam 2: Diffoddwch y Pane Darllen gyda chlicio ar y Pane Darllen > Oddi ar ar y Gweld tab.

Cam 3: Ewch ymlaen a chliciwch ar y Ychwanegu Colofnau ar y Gweld tab.

Cam 3: Yn y blwch deialog Show Columns, cliciwch y Colofn Newydd botwm.

Cam 4: Yn y blwch deialog Colofn Newydd, teipiwch y Parth yn y blwch Enw, a chadwch y Testun wedi'i ddewis yn y ddau math blwch a fformat blwch, o'r diwedd cliciwch y OK botwm.

Cam 5: Nawr eich bod chi'n cyrraedd yn ôl i'r blwch deialog Show Columns, dewiswch y Parth yn y Dangos y colofnau hyn yn y blwch archebu hwn, symudwch ef isod O eitem, a chliciwch ar y OK botwm.

Cam 6: Nawr eich bod chi'n mynd yn ôl i'r ffolder post agoriadol, dewiswch bob neges e-bost gyda phwyso'r Ctrl + A allweddi ar yr un pryd.

Cam 7: Pwyswch y Alt + F11 yn y cyfamser i agor ffenestr Microsoft Visual Basic for Applications; yna cliciwch ar y Mewnosod > Modiwlau, pastiwch y cod VBA canlynol i'r modiwl nesaf.

VBA: Trefnu a Grŵp yn ôl parth anfonwr

Sub ListSelectionDomain()
Dim aObj As Object
Dim oProp As Outlook.UserProperty
Dim sDomain
On Error Resume Next
For Each aObj In Application.ActiveExplorer.Selection
Set oMail = aObj
sDomain = Right(oMail.SenderEmailAddress, Len(oMail.SenderEmailAddress) - InStr(1, oMail.SenderEmailAddress, "@"))
Set oProp = oMail.UserProperties.Add("Domain", olText, True)
oProp.Value = sDomain
oMail.Save
Err.Clear
Next
End Sub

Cam 8: Rhedeg y cod VBA hwn gyda phwyso'r F5 allweddol neu Run botwm yn y Bar Offer.

Cam 9: Nawr mae parth pob anfonwr yn cael ei dynnu a'i lenwi i'r golofn Parth.

A. I ddidoli'r negeseuon e-bost yn ôl parthau anfonwyr, cliciwch pennawd Colofn Parth ar frig pob neges e-bost;

B. I grwpio'r negeseuon e-bost yn ôl parthau anfonwyr, cliciwch ar y dde ar bennawd Colofn Parth, a dewiswch y Grŵp Gan Y Maes Hwn o'r gwymplen. Gweler y llun sgrin isod:

Nodiadau:

(1) Mae'r cod VBA hwn yn gweithio'n dda yn Outlook 2013 a 2010, ond nid yw'n gweithio yn Outlook 2007.
(2) Gallwch arbed yr olygfa arfer yn hawdd gyda Sut i arbed a chopïo gosodiadau gweld i ffolderau eraill yn Outlook?


swigen dde glas saethErthygl Cysylltiedig

Sut i weld parth anfonwyr yn y rhestr bost yn Outlook?


Offer Cynhyrchiant Swyddfa Gorau

Kutools ar gyfer Rhagolwg - Dros 100 o Nodweddion Pwerus i Werthu Eich Outlook

🤖 Cynorthwy-ydd Post AI: E-byst pro ar unwaith gyda hud AI - un clic i atebion athrylith, tôn berffaith, meistrolaeth amlieithog. Trawsnewid e-bostio yn ddiymdrech! ...

📧 E-bostio Automation: Allan o'r Swyddfa (Ar gael ar gyfer POP ac IMAP)  /  Amserlen Anfon E-byst  /  Auto CC/BCC gan Reolau Wrth Anfon E-bost  /  Awto Ymlaen (Rheolau Uwch)   /  Auto Ychwanegu Cyfarchiad   /  Rhannwch E-byst Aml-Dderbynnydd yn Negeseuon Unigol yn Awtomatig ...

📨 Rheoli E-bost: Dwyn i gof E-byst yn Hawdd  /  Rhwystro E-byst Sgam gan Bynciau ac Eraill  /  Dileu E-byst Dyblyg  /  Chwilio Manwl  /  Cydgrynhoi Ffolderi ...

📁 Ymlyniadau ProArbed Swp  /  Swp Datgysylltu  /  Cywasgu Swp  /  Auto Achub   /  Datgysylltiad Auto  /  Cywasgiad Auto ...

🌟 Rhyngwyneb Hud: 😊Mwy o Emojis Pretty a Cŵl   /  Rhowch hwb i'ch Cynhyrchiant Outlook gyda Golygfeydd Tabbed  /  Lleihau Outlook Yn lle Cau ...

???? Rhyfeddodau un clic: Ateb Pawb ag Ymlyniadau Dod i Mewn  /   E-byst Gwrth-Gwe-rwydo  /  🕘Dangos Parth Amser yr Anfonwr ...

👩🏼‍🤝‍👩🏻 Cysylltiadau a Chalendr: Swp Ychwanegu Cysylltiadau O E-byst Dethol  /  Rhannwch Grŵp Cyswllt i Grwpiau Unigol  /  Dileu Atgoffa Pen-blwydd ...

Dros Nodweddion 100 Aros Eich Archwiliad! Cliciwch Yma i Ddarganfod Mwy.

 

 

Comments (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks a lot for this article. It took ages to populate the Domain field values for around 10000 mails, in Outlook 2013. The sadder thing is that it does not sort the mails on the Domain field, either descending or ascending. I don't know what is wrong, some update in Outlook disables this, or because the number of mails are huge. The Domain values are displayed, but not sortable or groupable. Kindly help me fix this, thanks.
This comment was minimized by the moderator on the site
I'd like to do the same thing, but for the eMail Address. What values should be adjusted in the above code?
This comment was minimized by the moderator on the site
Getting an error in Outlook 365 (1705) "You cannot sort by this field."
This comment was minimized by the moderator on the site
thanks for your effort, however, domain field does not behave like From field. When you group by domain and sort by another field, domain field disappears. any workarounds ?
This comment was minimized by the moderator on the site
Hi, In the new Outlook 2016 when you sort inbox by sender it then creates headers. I absolutely hate it. How do i remove the useless headers? It never used to happen before. Thanks, Barbs
This comment was minimized by the moderator on the site
Thanks for this, just tried it out in Outlook 2016 and works a treat. Now the next thing which might not be possible but is there a way to then sort the group by domain messages based on the group by count rather than alphabetically based on the domain text?
This comment was minimized by the moderator on the site
[quote]Thanks for this, just tried it out in Outlook 2016 and works a treat. Now the next thing which might not be possible but is there a way to then sort the group by domain messages based on the group by count rather than alphabetically based on the domain text?By Justin[/quote] I can't find the option to add a column in Office 2016 for Mac - Office 365. Any idea? Thank you.
This comment was minimized by the moderator on the site
Works perfect! Many Thanks!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations