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 Forms / May 2006

Tip: Looking for answers? Try searching our database.

Designing an Outlook Form with ComboBox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
erfast - 22 May 2006 18:58 GMT
Dear all,

I'm trying to design a form with Outlook but I have just found a problem:
I want to use two ComboBoxes in this way: I want the list of options of the
second ComboBox to depend on the option I have previously clicked in the
first ComboBox. I.e. the first combobox has always the same list of values,
but the list of options of the second one may change depending on the value
of the first combobox.
For example, imagine two comboboxes: the first one shows Continents and the
second one shows Countries.  If I choose "America" in the first combobox, the
second ComboBox shows "USA", "CANADA", ... , but if I choose "Europe", the
second ComboBox shows "France", "Spain", "Great Britain", ...
I think this programming cannot be very difficult, ... but I think I'm
getting crazy :P

Can you help me?

Regards
Signature

erfast

Sue Mosher [MVP-Outlook] - 27 May 2006 14:20 GMT
You would use either the combo box's Click event or the PropertyChange/CustomPropertyChange event, depending on whether the combo box is bound to an Outlook property. See:

http://www.outlookcode.com/d/propsyntax.htm
http://www.outlookcode.com/d/formcontrols.htm#listcombo

Signature

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
 

> Dear all,
>
[quoted text clipped - 14 lines]
>
> Regards
 
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.