Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Message Option Screen (http://www.outlookbanter.com/outlook-vba/72474-message-option-screen.html)

Outlook user May 23rd 08 03:02 PM

Message Option Screen
 
Is there a way when you click on the new, reply, forward, respond buttons
that the "Message Options Screen" could automatically pop up first so you
have to fill in that screen before you create/respond to a message?

I wanted to try to do this so I don't forget to set my options each time.
(I have some Rules and Alerts that run based off what is selected in the
Message Option screen).

If there is maybe a way to do this, I'm not a programmer or anything so I
would need detailed help on how to do it.

Thanks in advance for any help....

Ken Slovak - [MVP - Outlook] May 23rd 08 05:17 PM

Message Option Screen
 
That dialog isn't exposed to the object model, so you'd have to simulate a
user clicking the menu buttons or ribbon controls to open the dialog,
depending on what version of Outlook you're talking about.

For Outlook 2003 or earlier you can get the Options button in an Inspector
using:

Dim oButton As Office.CommandBarButton
Set oButton = Inspector.CommandBars("Menu Bar").FindControl(Id:=5598,
Recursive:=True)
If Not (oButton Is Nothing) Then
oButton.Execute
End If

You'd have to trap the Inspectors.NewInspector event and in that event
instantiate an Inspector object declared WithEvents. Then you'd need to
handle the Inspector.Activate event and call the code I showed in the first
Inspector.Activate event that fired for that Inspector.

You wouldn't really have any way of knowing what the user entered in that
dialog however, except by monitoring individual properties of the
Inspector.CurrentItem for the Item.PropertyChange() event.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Outlook User" wrote in message
...
Is there a way when you click on the new, reply, forward, respond buttons
that the "Message Options Screen" could automatically pop up first so you
have to fill in that screen before you create/respond to a message?

I wanted to try to do this so I don't forget to set my options each time.
(I have some Rules and Alerts that run based off what is selected in the
Message Option screen).

If there is maybe a way to do this, I'm not a programmer or anything so I
would need detailed help on how to do it.

Thanks in advance for any help....



Outlook user May 23rd 08 05:46 PM

Message Option Screen
 
Thank you - I appreciate your help!!!

"Ken Slovak - [MVP - Outlook]" wrote:

That dialog isn't exposed to the object model, so you'd have to simulate a
user clicking the menu buttons or ribbon controls to open the dialog,
depending on what version of Outlook you're talking about.

For Outlook 2003 or earlier you can get the Options button in an Inspector
using:

Dim oButton As Office.CommandBarButton
Set oButton = Inspector.CommandBars("Menu Bar").FindControl(Id:=5598,
Recursive:=True)
If Not (oButton Is Nothing) Then
oButton.Execute
End If

You'd have to trap the Inspectors.NewInspector event and in that event
instantiate an Inspector object declared WithEvents. Then you'd need to
handle the Inspector.Activate event and call the code I showed in the first
Inspector.Activate event that fired for that Inspector.

You wouldn't really have any way of knowing what the user entered in that
dialog however, except by monitoring individual properties of the
Inspector.CurrentItem for the Item.PropertyChange() event.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Outlook User" wrote in message
...
Is there a way when you click on the new, reply, forward, respond buttons
that the "Message Options Screen" could automatically pop up first so you
have to fill in that screen before you create/respond to a message?

I wanted to try to do this so I don't forget to set my options each time.
(I have some Rules and Alerts that run based off what is selected in the
Message Option screen).

If there is maybe a way to do this, I'm not a programmer or anything so I
would need detailed help on how to do it.

Thanks in advance for any help....





All times are GMT +1. The time now is 07:54 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