D
Don Miller
I was trying to use VBA at an application level and I am unable to even get
these simple scripts to run on the events below when a mailitem is read or
opened (and what's the difference between them?).
Do you have to restart Outlook or the computer between code changes?
Thanks for any tips.
Dim WithEvents myMailItem As MailItem
Private Sub Application_Startup()
End Sub
Private Sub myMailItem_Open(Item)
MsgBox "open"
End Sub
Private Sub myMailItem_Read()
MsgBox "read"
End Sub
these simple scripts to run on the events below when a mailitem is read or
opened (and what's the difference between them?).
Do you have to restart Outlook or the computer between code changes?
Thanks for any tips.
Dim WithEvents myMailItem As MailItem
Private Sub Application_Startup()
End Sub
Private Sub myMailItem_Open(Item)
MsgBox "open"
End Sub
Private Sub myMailItem_Read()
MsgBox "read"
End Sub