Scrolling a ListBox

S

Shayne H

How do I make a listbox scroll down as new items are added to it so that the
last added item will always be visible?
 
A

Armin Zingler

Shayne H said:
How do I make a listbox scroll down as new items are added to it so
that the last added item will always be visible?

Me.ListBox1.SelectedIndex = Me.ListBox1.Items.Add(Me)
 
O

One Handed Man [ OHM ]

Me.ListBox1.SelectedIndex = Me.ListBox1.Items.Add(Me.ListBox1.Items.Count)

Demonstrates it a little more clearly . . .



Regards
 
H

Herfried K. Wagner [MVP]

Hello,

One Handed Man said:
Me.ListBox1.SelectedIndex = Me.ListBox1.Items.Add(Me.ListBox1.Items.Count)

Demonstrates it a little more clearly . . .

LOL.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top