Thread: Outlook Code
View Single Post
  #3  
Old December 18th 06, 08:28 PM posted to microsoft.public.outlook
5elpep
external usenet poster
 
Posts: 3
Default Outlook Code

Thanks Sue.


Sue Mosher [MVP-Outlook] wrote:
Application.ActiveInspector.Close param

Look up Close in the object browser to see the different values the param can take, depending on the desired disposition of the item.

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm....program_v ba


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"5elpep" wrote in message ups.com...
Hi all,

I would be very grateful if someone could give me a line of code.
that will close the active message window. I have a macro which
forwards an e-mail to a number of recipients but I would prefer if
the window would then close automatically rather than having to
close it manually.

Thanks in advance.


Ads