D
DataDay
Hello,
I'm using "Dim WithEvents btnEmail As CommandBarButton" to drop the click
event of the Mail Recipient (with attachment) in Word. I can catch the event
and fire other actions, but the default action will not cancel. Any
suggestions?
Thanks
Private Sub btnEmail_Click(ByVal Ctrl As Office.CommandBarButton,
CancelDefault As Boolean)
CancelDefault = True
'Do something else instead
End sub
I'm using "Dim WithEvents btnEmail As CommandBarButton" to drop the click
event of the Mail Recipient (with attachment) in Word. I can catch the event
and fire other actions, but the default action will not cancel. Any
suggestions?
Thanks
Private Sub btnEmail_Click(ByVal Ctrl As Office.CommandBarButton,
CancelDefault As Boolean)
CancelDefault = True
'Do something else instead
End sub