Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with 'item send' event

Status
Not open for further replies.

jdrawmer

Programmer
Dec 1, 2006
25
0
0
GB
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:

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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top