Auto populate again

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
 
S

Sue Mosher [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top