|
-
May 3rd, 2001, 02:50 AM
#1
List Boxes
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
-
May 3rd, 2001, 05:50 AM
#2
Re: List Boxes
Hi,
If its the same as VB then:
List1.Selected(desiredItemNum) = true
List1.TopIndex = desiredItemNum
~&-)
-
May 3rd, 2001, 07:10 AM
#3
Re: List Boxes
No, that doesn't seem to work....
-
May 3rd, 2001, 07:42 AM
#4
Re: List Boxes
I suppose you got the idea that 'desiredItemNum' is a number you enter ?!
It works fine for VB.
Oren.
~&-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|