Skip i'r prif gynnwys

Sut i ddod o hyd i nodiadau atgoffa snoozed yn Outlook?

Er enghraifft, wrth snoozing nodyn atgoffa yn y ffenestr Atgoffa, bydd y nodyn atgoffa yn diflannu ar unwaith. Felly, sut allech chi ddarganfod yr atgoffa snoozed? Yn yr erthygl hon, byddaf yn cyflwyno'r datrysiad i ddod o hyd i nodiadau atgoffa snoozed yn Outlook.

Dewch o hyd i nodiadau atgoffa snoozed yng nghalendr 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!

swigen dde glas saethDewch o hyd i nodiadau atgoffa snoozed yng nghalendr Outlook

Bydd y dull hwn yn cyflwyno VBA i edrych am yr holl nodiadau atgoffa sydd wedi'u snoozed i Today in Outlook. Gwnewch fel a ganlyn:

1. Newid i'r bost gweld, a gwasgwch allweddi Alt + F11 gyda'i gilydd i agor ffenestr Microsoft Visual Basic for Applications.

2. Cliciwch Mewnosod > Modiwlau, a'i gludo o dan god VBA i mewn i ffenestr y Modiwl newydd.

VBA: Dewch o hyd i nodiadau atgoffa snoozed yn Outlook

Sub SnoozedReminders()

  Dim xReminder As  Reminder

  Dim xReminders  As Outlook.Reminders

  Dim xRemItems As  String

  Dim k As Long

  k = 0

  Set xReminders =  Outlook.Reminders

  For Each xReminder  In xReminders

  If  ReminderExpired(xReminder) = True Then

  k = k +  1

  xRemItems = xRemItems & k & ": " &  xReminder.Caption & vbCr & "      Snoozed to " & xReminder.NextReminderDate & vbCr & vbCr

  End If

  Next xReminder

  CreateRemItemsAsEmail "Snoozed RemItems",  xRemItems

  End Sub

Function ReminderExpired(Reminder As Outlook.Reminder)  As Boolean

  If  (Reminder.OriginalReminderDate <> Reminder.NextReminderDate) Then

  ReminderExpired = (Reminder.OriginalReminderDate <>  Reminder.NextReminderDate)

  End If

  End Function

Public Sub CreateRemItemsAsEmail(Theme As String,  RemItems As String)

  Dim xSession As Outlook.NameSpace

  Dim xMailItem As MailItem

  Dim xInboxFd As Outlook.Folder

  On Error Resume Next

  Set xSession = Application.Session

  Set xInboxFd =  xSession.GetDefaultFolder(olFolderInbox)

  Set xMailItem =  xInboxFd.Items.Add("IPM.Mail")

  With xMailItem

  .Subject =  Theme

  .body =  RemItems

  .Save

  .Display

  End With

  Set xSession = Nothing

  Set xInboxFd = Nothing

  Set xmail = Nothing

  End Sub

3. Gwasgwch y F5 allwedd neu cliciwch y Run botwm i redeg y VBA hwn.

Nawr gallwch weld bod yr holl nodiadau atgoffa sydd wedi'u snoozed hyd heddiw yn cael eu pastio fel y corff negeseuon mewn e-bost newydd. Gweler y screenshot:


swigen dde glas saethErthyglau Perthnasol


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 (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
HiI am having problem. I get the following error intermittently "Method Caption of object reminder failed " It then words with nothing being changed.Any ideas welcome.Thanks(I really use this macro when working !
This comment was minimized by the moderator on the site
Hi Dave AA,
For your problem, please try the code below:
<div data-tag="code">Sub SnoozedReminders()

Dim xReminder As Reminder

Dim xReminders As Outlook.Reminders

Dim xRemItems As String

Dim k As Long

On Error Resume Next

k = 0

Set xReminders = Outlook.Application.Reminders

For Each xReminder In xReminders

If ReminderExpired(xReminder) = True Then

k = k + 1

xRemItems = xRemItems & k & ": " & xReminder.Caption & vbCr & " Snoozed to " & xReminder.NextReminderDate & vbCr & vbCr

End If

Next xReminder

CreateRemItemsAsEmail "Snoozed RemItems", xRemItems

End Sub

Function ReminderExpired(Reminder As Outlook.Reminder) As Boolean

If (Reminder.OriginalReminderDate <> Reminder.NextReminderDate) Then

ReminderExpired = (Reminder.OriginalReminderDate <> Reminder.NextReminderDate)

End If

End Function

Public Sub CreateRemItemsAsEmail(Theme As String, RemItems As String)

Dim xMailItem As MailItem

On Error Resume Next

Set xMailItem = Application.CreateItem(olMailItem)

With xMailItem

.Subject = Theme

.Body = RemItems

.Save

.Display

End With

Set xMail = Nothing

End SubHope this works for you.
Amanda
This comment was minimized by the moderator on the site
Hi Amanda.Perfect.Many Thanks
This comment was minimized by the moderator on the site
This was so helpful. Thank you.
This comment was minimized by the moderator on the site
WICKED this was helpful thanks!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations