How do I make the application.reminder event work?

后端 未结 3 960
难免孤独
难免孤独 2021-01-16 15:39

I have this code in a class module - as stated to on msdn and on this stackoverflow thread

Public WithEvents objReminders As Outlook.Reminders

Private Sub A         


        
3条回答
  •  心在旅途
    2021-01-16 16:28

    It's worth noting that this must be in the ThisOutlookSession code, not a different module

    Private Sub objReminders_ReminderFire(ByVal ReminderObject As Reminder)
        Call Send_Email_Using_VBA
        MsgBox ("Litigate!")
    End Sub
    

提交回复
热议问题