In VBA, when an item in a list box is selected by code instead of the user is there a way to scroll down the list box and display the item selected?
Thanks
Andrew
Printable View
In VBA, when an item in a list box is selected by code instead of the user is there a way to scroll down the list box and display the item selected?
Thanks
Andrew
Hi,
If its the same as VB then:
List1.Selected(desiredItemNum) = true
List1.TopIndex = desiredItemNum
~&-)
No, that doesn't seem to work....
I suppose you got the idea that 'desiredItemNum' is a number you enter ?!
It works fine for VB.
Oren.
~&-)