If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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. |
Ads |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
add 1+XXX area code to phone nr in my area code | OH | Outlook - Using Contacts | 3 | August 3rd 06 03:45 PM |
Outlook 2007 VB code... | EastAsia | Outlook - General Queries | 4 | May 25th 06 02:48 PM |
outlook java code | Sandeep Gondal | Outlook - Using Forms | 1 | May 22nd 06 06:10 PM |
Outlook Code: Newbie Trying to Do Too Much? | [email protected] | Outlook and VBA | 1 | May 18th 06 05:56 AM |
code : Code : 800cccd2 | scotty971fr | Outlook Express | 1 | January 19th 06 11:59 PM |