![是否有一个宏可以让我在 Outlook 2010 中设置一个按钮来设置 3 天内跟进的标志?](https://linux22.com/image/1317016/%E6%98%AF%E5%90%A6%E6%9C%89%E4%B8%80%E4%B8%AA%E5%AE%8F%E5%8F%AF%E4%BB%A5%E8%AE%A9%E6%88%91%E5%9C%A8%20Outlook%202010%20%E4%B8%AD%E8%AE%BE%E7%BD%AE%E4%B8%80%E4%B8%AA%E6%8C%89%E9%92%AE%E6%9D%A5%E8%AE%BE%E7%BD%AE%203%20%E5%A4%A9%E5%86%85%E8%B7%9F%E8%BF%9B%E7%9A%84%E6%A0%87%E5%BF%97%EF%BC%9F.png)
有没有宏可以让我在 Outlook 2010 中设置一个按钮,设置 3 天内跟进的标志?我每次都可以在“自定义”下执行每项任务,但这很耗时。我真的很想有一个按钮,只需重置 3 天内跟进的标志即可。今天、明天和下周的选项根本不够用。
答案1
标记到期时间曾是已弃用在 Outlook 2007 中。它被替换为提醒时间和任务截止日期。
来源:http://msdn.microsoft.com/en-us/library/bb610089%28v=office.12%29.aspx
答案2
这将允许您设置任意您想要的天数。
Sub Set_FollowUp()
Dim numDays As Double
Dim uPrompt As String
Dim MyMailItem As Object
On Error Resume Next
If ActiveInspector.currentItem.Class = olMail Then
Set MyMailItem = ActiveInspector.currentItem
End If
If MyMailItem Is Nothing Then
' Might be in the explorer window
If (ActiveExplorer.selection.Count = 1) And _
(ActiveExplorer.selection.Item(1).Class = olMail) Then
Set MyMailItem = ActiveExplorer.selection.Item(1)
End If
End If
If MyMailItem Is Nothing Then
MsgBox "Problem." & vbCr & vbCr & "Try again " & _
"under one of the following conditions:" & vbCr & _
"-- You are viewing a single message." & vbCr & _
"-- You have only one message selected.", _
vbInformation
Exit Sub
End If
MyMailItem.FlagDueBy = Now + 3
' *** optional code ***
'uPrompt = "Follow-Up how many days from now? Decimals allowed."
'numDays = InputBox(prompt:=uPrompt, Default:=3)
'MyMailItem.FlagDueBy = Now + numDays
'MyMailItem.FlagRequest = "Customized Follow up"
' *** end of optional code ***
MyMailItem.Save
End Sub