Error on the listbox page?

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
339 views
0

Hi,

I came across the ListBox page and noticed what I think is an error. In selection/deselect section you say in the example “which is selected” to check if an item is seleceted use the selected option, but in the example used you use the selection attribute instead of the selected attribute. In my opinion, it should read:

Debug.Print ListBox1.Selected(0) instead of Debug.Print ListBox1.Selection(0)

Simply the best place to learn Excel VBA