In one of the built-in lists? Yoiu can't. In a list you create yourself? Use
code in the Item_Open event and the standard combo box method and
prooperties -- ListAdd, List or Column. See http://www.outlookcode.com/d/formcontrols.htm#listcombo
Obviously, I wasn't clear enough, I need to populate combo box values from
the VB application, not from VBA in Outlook form. I have the application that
populates Outlook form from SQL database, send them to users and then reads
and loads message data back to SQL. The problem is possible values in combo
box; they should be populated from database.
Obviously, I wasn't clear enough, I need to populate combo box values from
the VB application, not from VBA in Outlook form. I have the application that
populates Outlook form from SQL database, send them to users and then reads
and loads message data back to SQL. The problem is possible values in combo
box; they should be populated from database.
Obviously, I wasn't clear enough, I need to populate combo box values from
the VB application, not from VBA in Outlook form. I have the application that
populates Outlook form from SQL database, send them to users and then reads
and loads message data back to SQL. The problem is possible values in combo
box; they should be populated from database.
Obviously, I wasn't clear enough, I need to populate combo box values from
the VB application, not from VBA in Outlook form. I have the application that
populates Outlook form from SQL database, send them to users and then reads
and loads message data back to SQL. The problem is possible values in combo
box; they should be populated from database.
Same method. You can use the Inspectors.NewInspector event to monitor for
items opening, test the MessageClass, and if it's your custom form, populate
the control values.
(Outlook form code is VBScript, not VBA, BTW.)
--
Sue Mosher, Outlook MVP
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.