Giordano Bruno
Well-known Member
- Joined
- Jan 7, 2007
- Messages
- 1,341
I have a userform listbox for about a hundred items of which twenty fit into the listbox window, I use the below code to preselect one of the items
.lbxItems.ListIndex = ItemIndex
This highlights the selected item, but positions the items shown in the listbox with my selection being the last visible row. Typically I will want to select one of the items below the selected item and I would prefer that the selected item were shown half way down the listbox to avoid my having to scroll down to see the lower items. Is this possible?
.lbxItems.ListIndex = ItemIndex
This highlights the selected item, but positions the items shown in the listbox with my selection being the last visible row. Typically I will want to select one of the items below the selected item and I would prefer that the selected item were shown half way down the listbox to avoid my having to scroll down to see the lower items. Is this possible?