Auto populate again

  • Thread starter Thread starter Bill Northby
  • Start date Start date
B

Bill Northby

Further to my previous post:
I have two fields called ComboBox2 and AddLable.
ComboBox2 has three possible selections, they are Beijing,
Shanghai and Hong Kong.
The AddLable field is a multi line lable field. If the
user selects Beijing, I want a Beijing address to populate
this field. For example:
14 Smith Street
Chaoyang District
Beijing 100028
China

Same thing for an address in Shanghai and Hong Kong.
Maybe some VB code script required? Can anyone help me
with this? Thanks in advance.

Bill
 
Depending on whether ComboBox2 is bound to an Outlook property or unbound, you would use the CustomPropertyChange or ComboBox2_Click event to set the value of the property to which the AddLable control is bound. See http://www.slipstick.com/dev/propsyntax.htm for code snippets.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top