Represents a selected items within a list box.
This example shows how to add the selected items from a list box control to a preexisting results limit:
ActiveDocument.Sections["Results"].Limits[1].SelectedValues.RemoveAll() for(I = 1; I <= ListBox.SelectedList.Count;I++) { NewLimitValue = ListBox.SelectedList[I] ActiveDocument.Sections["Results"].Limits[1].SelectedValues.Add(NewLimitValue) }
Item(Index As Number) As String, ItemIndex(Index As Number) As Number