Combobox load - how to speed it up?

Oliver Dewar

Board Regular
Joined
Apr 17, 2011
Messages
201
Hi All.

I have a userform with a combobox from which the user can select any suburb in a certain country.

When the form loads it populates this combobox by VBA.

Depending on how far down the list the suburb is, this action can take a second or two and slows the form load down more than anything else.

Does anyone have any vba techniques to speed up combobox loading?

Please explain everything as if I'm totally new and thick... because I am (thick at least) ;).
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Well... not sure if it will illuminate anything much but:

Code:
combobox1.value = range("A1").value

Combobox1's row source includes 16500 rows.
 
Upvote 0
Hang on... hold the phone...

For some reason the load has just sped up massively by itself!

I don't have enough understanding of excel to be able to suggest why this might be... but it's now loading the values in a split second. It was taking one or two seconds before.

Bizarre... but welcome!
 
Upvote 0
You're welcome!
I hope your workbooks health is still OK. From what you posted we can not tell what could be the problem.
 
Upvote 0
Thanks for coming to help Eric. It seems to be fast and happy now so lets do the three Monkeys and enjoy some ignorance!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top