I would like to programmatically change the ListBox.Multiselect property setting. Part of the time I want it set to "Extended" to open multiple documents. Other times I need the property set to "none".
The following line causes error that property is being used improperly:
Me.LstListBox.MultiSelect = 0 'none
I tried both setting the focus off the listbox and on the listbox and neither option seems to resolve the issue.
Thanks for the help.
Sam