Skip i'r prif gynnwys

Sut i aseinio categori i e-bost sy'n mynd allan yn Outlook?

Mae'r erthygl hon yn darparu tri dull ar gyfer aseinio categori i e-bost sy'n mynd allan yn Outlook.

Neilltuwch gategori â llaw i e-bost sy'n mynd allan
Neilltuwch gategori â llaw i e-bost sy'n mynd allan gyda chod VBA
Neilltuwch gategori yn awtomatig i e-bost sy'n mynd allan trwy greu rheol


Neilltuwch gategori â llaw i e-bost sy'n mynd allan

Gallwch chi neilltuo categori â llaw i e-bost sy'n mynd allan yn Outlook. Gwnewch fel a ganlyn.

1. Yn y ffenestr e-bost newydd, cliciwch y Dewisiadau Neges botwm yn y Tags grwp o dan y Neges tab. Gweler y screenshot:

2. Yn y Eiddo blwch deialog, dewiswch gategori o'r Categoriau rhestr ostwng, ac yna cliciwch ar y Cau botwm.

3. Cyfansoddwch eich e-bost a'i anfon. Ac mae'r e-bost gyda chategori penodol wedi'i aseinio ar gyfer y neges allblyg hon yn y ffolder Eitemau Anfonedig yn eich Camre.


Neilltuwch gategori â llaw i e-bost sy'n mynd allan gyda chod VBA

Yna islaw codau VBA gall eich helpu i aseinio categori yn hawdd i e-bost sy'n mynd allan yn Outlook. Gwnewch fel a ganlyn.

1. Gwasgwch y Alt + F11 allweddi i agor y Microsoft Visual Basic ar gyfer Ceisiadau ffenestr.

2. Yn y Microsoft Visual Basic ar gyfer Ceisiadau ffenestr, cliciwch ddwywaith i agor y SesiwnOutlook ffenestr cod, ac yna copïwch isod y cod VBA i mewn i'r ffenestr cod.

Cod VBA 1: Neilltuo categori â llaw i e-bost sy'n mynd allan

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim xNewEmail As MailItem
If Item.Class = olMail Then
    Set NewMail = Item
   NewMail.ShowCategoriesDialog
End If
Set xNewEmail = Nothing
End Sub

3. Gwasgwch y Alt + Q allweddi i gau'r Microsoft Visual Basic ar gyfer Ceisiadau ffenestr.

4. Bob tro pan fyddwch chi'n clicio ar y anfon botwm mewn e-bost cyfansoddi, y Categorïau Lliw bydd blwch deialog yn cael ei arddangos. Dewiswch y categori sydd ei angen arnoch a chliciwch ar y OK botwm. Gweler y screenshot:

Ar ben hynny, gallwch ychwanegu isod sgript VBA i'r Bar Offer Mynediad Cyflym ar gyfer aseinio categori yn hawdd i e-bost sy'n mynd allan yn Outlook.

1. Ar ôl agor y SesiwnOutlook ffenestr cod, copïwch o dan god VBA i mewn i ffenestr y Cod.

Cod VBA 2: Neilltuo categori â llaw i e-bost sy'n mynd allan

Sub SpecifyCategoryforNewEmail()
Dim xNewEmail As MailItem
Dim xItem As Object
Set xItem = Outlook.Application.ActiveInspector.CurrentItem
If xItem.Class = olMail Then
    Set xNewEmail = xItem
    xNewEmail.ShowCategoriesDialog
End If
Set xNewEmail = Nothing
End Sub

2. Gwasgwch y Alt + Q allweddi i adael y Microsoft Visual Basic ar gyfer Ceisiadau ffenestr.

3. Creu e-bost newydd, cliciwch y Addasu Bar Offer Mynediad Cyflym botwm, ac yna dewiswch Mwy o Orchmynion o'r rhestr ostwng.

4. Yn y Dewisiadau Outlook ffenestr, mae angen i chi:

4.1 Dewis Macros oddi wrth y Dewiswch orchmynion oddi wrth rhestr ostwng;

4.2 Dewis Project1 yn y blwch testun chwith a chliciwch ar y Ychwanegu botwm;

4.3 Dewis Project1 yn y blwch cywir, cliciwch y Addasu botwm ac addasu botwm symbol i'r macro;

4.4 Cliciwch y OK botwm yn y Dewisiadau Outlook ffenestr i achub y newidiadau. Gweler y screenshot:

5. O hyn ymlaen, os ydych chi am neilltuo categori i e-bost rydych chi'n ei gyfansoddi, cliciwch ar y botwm yn y rhuban i agor y Categorïau Lliw blwch deialog, ac yna dewiswch y categori ar gyfer yr e-bost hwn. Gweler y screenshot:


Neilltuwch gategori yn awtomatig i e-bost sy'n mynd allan trwy greu rheol

Os ydych chi bob amser am neilltuo categori i e-byst a anfonir at dderbynnydd penodol, gall y dull isod eich helpu chi.

1. Cliciwch Rheolau > Rheolau a Rhybuddion Rheolwr ar y tab Cartref.

2. Yn y blwch deialog Rheolau a Rhybuddion, cliciwch y botwm Rheol Newydd. Gweler y screenshot:

3. Yn y cyntaf Dewin Rheolau blwch deialog, cliciwch y Cymhwyso rheol ar negeseuon a anfonaf opsiwn yn y Dechreuwch o reol wag adran, ac yna cliciwch yr adran Digwyddiadau botwm.

4. Yn yr ail Dewin Rheolau blwch deialog, gwiriwch y anfon at bobl neu grŵp cyhoeddus blwch yn y 1 cam, a nodwch gyfeiriad e-bost y derbynnydd yn 2 cam, ac yn olaf cliciwch y Digwyddiadau botwm. Gweler y screenshot:

5. Yn y trydydd Dewin Rheolau blwch deialog, gwiriwch y ei aseinio i'r categori categori blwch yn y 1 cam, dewiswch gategori ar gyfer y rheol yn 2 cam, ac yna cliciwch ar Digwyddiadau botwm.

6. Cliciwch ar y Digwyddiadau botwm yn uniongyrchol yn y pedwerydd Dewin Rheolau blwch deialog heb ddewis unrhyw opsiynau.

7. Yn yr olaf Dewin Rheolau blwch deialog, enwwch y rheol yn ôl yr angen, ac yna cliciwch ar y Gorffen botwm. Gweler y screenshot:

O hyn ymlaen, wrth anfon e-bost at y derbynnydd penodedig hwn, bydd yr e-bost yn cael ei aseinio yn ôl categori penodol yn awtomatig.


Erthyglau cysylltiedig:

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi,

I'm trying to organize a team mailbox (outlook). The inbox has some clearly defined subfolders. I'm looking for a way to force senders to this team mailbox (where the team address is either in to or cc) to select a category that is linked to the inbox subfolder structure. Incoming mail should then be directed automatically to its correct subfolder.

List of categories should adapt whenever a subfolder is created, removed or the naming of a exisitng subfolder is changed.

On top of these categories, there should be a "general" category that leads e-mails to the root of the inbox (not all messages might fit in one category or sender might not know in what category his message fits).

Category should be maintained throughout forwarding and replying as long as the team address is being copied in.

If multiple team addresses are included in one mail, sender should select a category for each team address according the categories defined by each team.

Goal is to minimize the effort of manually sorting by the team enhanced overview, increase efficiency of dealing with mail,...

Is this possible in an easy and maintenance friendly manner?

Thanks
This comment was minimized by the moderator on the site
I have same wishlist for my team! Any update on this please?
This comment was minimized by the moderator on the site
I know that this is necroposting but I had the same issue following similar instructions. What I had to do was create a self signed digital certificate for my macro. (located C:\Program Files\Microsoft Office\root\Office16 for my install of Office 365.) Then I saved it. Then I opened up (alt+f11) and under Tools->Digital Signature for the macro I created I signed it with my self signed cert. Then I went to File->Options->Trust Center>Trust Center Settings>Macro Settings and selected "Notifications for digitally signed macros, all other macros disabled". Click okay. Run your macro it'll warn you about it and you select "Trust all macros from this publisher". You can always check the certificate to see if its the correct one too. Hope this helps someone!
This comment was minimized by the moderator on the site
Hi same problem as below. It first worked but after I closed and re-opened Outlook it it didn't work anymore. How do i get the macro to work again and all the time?
This comment was minimized by the moderator on the site
Hi, I had the same problem as John below. I did the auto categorize option when clicking send using VBA code, it worked at first but when I closed and re-opened Outlook it didn't work anymore. I then tried the second VBA method and it created the symbol in the quick tool bar but nothing happens when I click it.
This comment was minimized by the moderator on the site
this i great. i made the macro to manually add by VBA code 2. it worked for about an hour and now the button is still there but it will not assign the category set for it. How do i get the macro to work all the time? thanks
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations