CAMinTheToon
08-13-2008, 02:24 PM
Hi,
I hope someone can help.
i am trying to send a email in the activewindow but i am getting errors.
Sub SendMyOpenMailNow()
Dim MyMailItem As Outlook.MailItem
Dim myOlApp As New Outlook.Application
If TypeName(myOlApp.ActiveWindow) = "Inspector" Then
Set MyMailItem = myOlApp.ActiveWindow
MyMailItem.Send
End If
End Sub
thank you for any help
Col
I hope someone can help.
i am trying to send a email in the activewindow but i am getting errors.
Sub SendMyOpenMailNow()
Dim MyMailItem As Outlook.MailItem
Dim myOlApp As New Outlook.Application
If TypeName(myOlApp.ActiveWindow) = "Inspector" Then
Set MyMailItem = myOlApp.ActiveWindow
MyMailItem.Send
End If
End Sub
thank you for any help
Col