When using the SendObject command the newly created outlook message window comes up as modal. Is there a way to make it modeless? If not is there a way to do it if you create a mail object the longer way (example below)?
Any help you could give would be appreciated. The hardest questions always have the easiest answers.
Code:
Dim objOutlook As Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
Dim objOutlookRecip As Outlook.Recipient
Dim objOutlookAttach As Outlook.Attachment
Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateIte(olMailItem)
With objOutlookMsg
.Subject = ""
.Body = ""
.Send
End With
Set objOutlookMsg = Nothing
Set objOutlook = Nothing