Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / May 2008

Tip: Looking for answers? Try searching our database.

Message Option Screen

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Outlook User - 23 May 2008 14:02 GMT
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] - 23 May 2008 16:17 GMT
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.

Signature

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

> 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
[quoted text clipped - 8 lines]
>
> Thanks in advance for any help....
Outlook User - 23 May 2008 16:46 GMT
Thank you - I appreciate your help!!!

> 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,
[quoted text clipped - 31 lines]
> >
> > Thanks in advance for any help....
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.