![]() |
Outlook Code
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. |
Outlook Code
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. |
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. |
All times are GMT +1. The time now is 09:14 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com