ListBox bug with TabIndex

Setting TabIndex for a listbox to 0 in a Userform will have some issues when selecting an item from list
First time you select an item from list, it will think that you selected the item that is +2
Later clicks are ok, only first initial click is problematic
It will cause listbox to select item two items down.
So when you select 2nd, it will think you selected 4th, when selecting 6th, it thinks you selected 8th, etc.
Set it to anything other than zero and the first click will work fine.

CodeFunctionName
What is this?

Public

Tested

Original Work
The very first time you select an item from list, it will think that you selected the item that is +2
Later clicks are ok, only first initial click is problematic
It will cause listbox to select item two items down.
So when you select 2nd, it will think you selected 4th, when selecting 6th, it thinks you selected 8th, etc.
Set it to anything other than zero and the first click will work fine.

Views 438

Downloads 31

CodeID
DB ID