No MailItem object is shown unles you explicitly call MailItem.Display.
What exactly do you see and how do you create and send messages?
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Eric" wrote in message
...
I'm writing some VBA code in Excel that needs to send data to Word and
then
send out the Word documents as attachments to emails. In Word VBA I can
say
something like
Application.Visible=False
and this will create the documents in the background without the user
seeing
everything happening. When it comes to send the emails, the email pops up
on
the screen before it sends out. I can't find a Visible-equivalent method
for
the Outlook application. Is there a way to set Outlook or the mailitem
object
to not display itself?