N
Nate Hekman
I wrote a simple Application_ItemSend event handler for ThisOutlookSession.
It was working fine, but unexpectedly (I think when I shut down Outlook and
reran it) quit working. It's not even being called anymore. I've written
an Application_Startup() event handler too just to test it, and it's not
being called either. What am I missing?!
Option Explicit
Private Sub Application_Startup()
MsgBox ("startup")
End Sub
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Cancel = (MsgBox ("Send item?", vbYesNo) = vbNo)
End Sub
Nate Hekman
Calgary, Alberta, Canada
It was working fine, but unexpectedly (I think when I shut down Outlook and
reran it) quit working. It's not even being called anymore. I've written
an Application_Startup() event handler too just to test it, and it's not
being called either. What am I missing?!
Option Explicit
Private Sub Application_Startup()
MsgBox ("startup")
End Sub
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Cancel = (MsgBox ("Send item?", vbYesNo) = vbNo)
End Sub
Nate Hekman
Calgary, Alberta, Canada