Scroll a combo box down in VBA code ?

R

Ryan

I have a combo box that displays a large number of records.
I would liketo display it exactly as though the user has
scrolled it to the bottom. Or, possibly place a button the
screen that would scroll it to the top or the bottom.
 
S

Scott McDaniel

Me.NameOfYourCombo.Index = Me.NameOfYourCombo.Listcount -1 will get you to
the bottom of the list ... you could put this behind the Click event of a
button, or in the OnEnter event of your combo (which, for me anyway, doesn't
always fire).
 

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

Top