View Single Post
  #2  
Old July 7th 06, 08:17 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Make email modal

Use .Display(True) to make the e-mail Inspector window modal.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Steve" wrote:

Hi. I am trying to loop through several emails that must be sent with
attached files. I was using the DoCmd.SendObject code, but I have to attach
external files, so I am now using Outlook(2000).

When I used the DoCmd.SendObject code, the email box would pop up and become
modal on my screen until the user clicked send or cancel. However, with
Outlook, when I use the .display code, the outlook email appears on the
screen, but the code after the .display continues to run. I want to halt the
code from running until the user decides what they want to do.

Any tips? Thanks.

Ads