Combo box values

spg2112

Active Member
Joined
Feb 27, 2002
Messages
316
Hi all,

I have a couple of combo boxes that for some reason lose their values every now and then. I go to select a value and the pull-down is blank. I have to save and close the file to get them to appear again. Any ideas?

Steve
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

stevebausch

Well-known Member
Joined
May 11, 2002
Messages
810
This happens when the code crashes? Or just out of the blue?

Some of my variables will loose assignment when I stop the code, the code errors out, etc.

Where are the values being assigned? I suspect the assignment is being done in Workbook_Open, or the assignment can be traced back to _Open.

I understand if the variables must be assigned early on. You may just need to have the reassignment code (in my case, GetSetting is involved) be called again in Userform_Initialize.
 

spg2112

Active Member
Joined
Feb 27, 2002
Messages
316
Hello,

It happens just out of the blue. They're not assigned variables at all. I just used the "List Fill Range" option under properties, then referenced a range on the sheet.

Steve
 

Joe Was

MrExcel MVP
Joined
Feb 19, 2002
Messages
7,539
This happens when you have too little memory or you used ranges that total to more than: 56 colors, 4,000 cell styles, 32 field types or 32 cells who's content changes.

If none of the above seems to apply then a application code problem may be forcing the change?
Does it only happen on one application or on more than one? JSW
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,502
Messages
5,832,099
Members
430,111
Latest member
Francis Xavier

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
Top