Populating To: Field from Combobox

M

martin1000

Hi All,

New member, first time Outlook Form creator.

I am trying to populate the standard To: field of a form from
combobox with names. Basically, a user chooses from the combobox an
the To: field is populated. The To: field for this application wil
only ever have one address, so there is no worries about multipl
address.

There is no way to bind the field when To is selected as the value.

Any ideas?

Thank you!!!

Marti
 
S

Sue Mosher [MVP-Outlook]

Try it this way:

Function Item_Send()
Set objPage = Item.GetInspector.ModifiedFormPages("Message")
Set ComboBox1 = objPage.Controls("ComboBox1")
Item.To = ComboBox1.Value
End Function
 

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