Boxes on UserForm

Rocky0201

Active Member
Joined
Aug 20, 2009
Messages
278
Hi everyone...

I have a userform with several ComboBoxes, TextBoxes and ListBoxes.

If I select criteria from say ComboBox1, lookup the value selected and wish to populate another ComboBox (say ComboBox2) with data found, How could I prevent the ComboBox2_Click event from executing?

In my ComboBox1 event, If I do;

ComboBox2.value = "Item Found:

The code in ComboBox2 runs where I only want to display the value.

I will, however, need to have the ability to select ComboBox2 and select criteraia from this box and populate another ComboBox, TextBox or ListBox.

Any help would be great...

Thanks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Thanks Andrew...

I tried using the example from the link you provided.

I get a complie error: Method or data member not found on the statement; Me.EnableEvents = True in the UserForm_Initialize routine.

My Public EnableEvents as Boolean is defined in Module2 where all of my other public definitions are kept.

Any thoughts?

Thanks again...
 
Upvote 0

Forum statistics

Threads
1,215,201
Messages
6,123,621
Members
449,109
Latest member
Sebas8956

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