以下 Outlook 宏可以完美运行,但是,我希望MsgBox
仅在 Subject 为LIKE 'Fees Due%'
OR Subject is时出现LIKE' Status Change%'
。这可能吗?
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If MsgBox("Do you want to continue sending the mail?", vbOKCancel) <> vbOK Then
Cancel = True
End If
End Sub