How not to use ComboBox change event?

Waimea

Active Member
Joined
Jun 30, 2018
Messages
465
Office Version
  1. 365
Platform
  1. Windows
Hi,

I want to use a select case for the value of a combobox but I don't want to use the combobox change event?

Ex. If combobox1.ListIndex = 1 I want a macro to run, and if combobox1.listindex = 2 I want another macro to run?
 
Well sorry I cannot help. I really would not think you need 320 scripts or 320 case statements.

I'm not sure I can help on this particular question without knowing fully what your wanting.

For some reason you believe you need dependent comboboxes which may be true but then still need numerous case statements.

It would be nice if you were to give a exact example of maybe three case statements and what each one would do.

For example if Country equals Germany and City equals Frankfurt then do this.

And country being one named range and Frankfurt being another named range.

Assuming each city and country had named ranges.

But then maybe someone else here on the forum can see what you want and be able to help here. I admit others here sometimes can understand needs easier then me.

I assume your still not at a Computer. Maybe your on Holiday vacation. I wonder if the wife is saying get off that Smart phone talking about Excel and Talk more with my Mom and Dad.
 
Last edited:
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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