Hi,
I'm beginner at VBA. In a UserForm, I created a List Box calledwith the following settings:ListBox1
MultiSelect: fmMultiSelectExtended
The properties .ItemsSelected and .ItemData don't appear as options of the dropdown list of properties of the object. This was reported in a previous thread (excel-programming-vba-macros/1128844-no-itemsselected-property-available). However, there are many online use cases using these properties.Me.ListBox1
I checked the following:, which suggests that the documentation hasn't been updated.
- ListBox1 is a List Box: its name type displays as "ListBox" in the properties window (I even ran code to go through all controls of the workbook and Msg Box if a control's name is "ListBox"
- According to thedocumentation (vba/api/access.listbox.itemsselected), the control's MultiSelect property is set to Extended. What's weird is that the sample code:
threw the error "User-defined type no defined" atPlease Login or Register to view this content.
As Form
Could it be that these properties have been removed? If so, where can I find a list of all deprecated/removed properties/methods?
Thanks
Bookmarks