Pre load combo

  • Thread starter Thread starter Bernard
  • Start date Start date
B

Bernard

Hi Is it possible to preload comboboxes memory to allow
for smooth scrolling of data in them. I have found them
to be slow and have to recalculate position and size of
scroll bar until one full cycle of all records is done.

Thanks

Bernard
 
Yes. In the form's Load event, use code like this:

Private Sub Form_Load()
Dim lngCount As Long
lngCount = Me.ComboBoxName.ListCount
End Sub
 

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

Back
Top