How to: Specify the Column in a Multi-Column List Box to Store Data for the Control
Article
Outlook Developer Reference
The following example demonstrates how the BoundColumn property influences the value of a ListBox. The user can choose to set the value of the ListBox to the index value of the specified row, or to a specified column of data in the ListBox.
To use this example, copy this sample code to the Script Editor of a form. To run the code you need to open the form so the Open event will activate. Make sure that the form contains:
Three OptionButton controls named OptionButton1, OptionButton2, and OptionButton3.
Dim Listbox1
Dim OptionButton1
Dim OptionButton2
Dim OptionButton3
Dim Label1
Sub Item_Open
Set Listbox1 = Item.GetInspector.ModifiedFormPages("P.2").Listbox1
Set OptionButton1 = Item.GetInspector.ModifiedFormPages("P.2").OptionButton1
Set OptionButton2 = Item.GetInspector.ModifiedFormPages("P.2").OptionButton2
Set OptionButton3 = Item.GetInspector.ModifiedFormPages("P.2").OptionButton3
Set Label1 = Item.GetInspector.ModifiedFormPages("P.2").Label1