I've got an item send event on my outlook macro, and when the send button is clicked, i am wishing to bring up a form - really simple:
However, there is a problem when users are using word as their email editor. If Word editor IS used, the form doesn't load on top of the email, and so, when i come to grab the currently selected item, it selects one within the inbox instead of the actual email being sent... Why is this? and how can i rectify it?
Thanks!
Code:
Sub Application_ItemSend(ByVal item As Object, Cancel As Boolean)
frmOutputControl.Show
If frmOutputControl.txtCancel.Text = "Yes" Then
Cancel = True
Else
Cancel = False
Unload frmOutputControl
End If
End Sub
However, there is a problem when users are using word as their email editor. If Word editor IS used, the form doesn't load on top of the email, and so, when i come to grab the currently selected item, it selects one within the inbox instead of the actual email being sent... Why is this? and how can i rectify it?
Thanks!