Reset Combo boxes when reselecting first one

Grimm127

Board Regular
Joined
Aug 17, 2011
Messages
132
Hi All you Excel Guru's

I need a little help. I am using four combo boxes from the Data Ribbon (Controls - Insert - Format Controls Combo Box (From Control).

I would like to set it up that when the 1st combobox changes its selection that the other three reset. Do any of you have any ideas or suggestions that may be of some use for me. All four boxes have a cell link that gets populated based on the row selection. those cell links are then attached to other formulas

Thank you all in advance and I really appreciate the help.

Regards,​
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Do you mean (Form Control) not (From Control)
and therefore assume these are "Forms" controls and not "ActiveX"
 
Upvote 0
Try This, I'm assuming by "Reset" you mean for all Drop Downs to appear Blank, except the one that Has focus.:-


Place this code in a Basic Module:-
Code:
Sub DDset()
Dim DD As DropDown
For Each DD In ActiveSheet.DropDowns
    If Not DD.Name = Application.Caller Then
       DD.ListIndex = 0
    End If
 Next DD
End Sub

For each of the "DropDowns" do the following:-
Right Click the first Drop Down Box, Dialog box appears,select Click "Assign Macro"
Assign Macro Dialog box appears,
In the list of "Code names" you should see, "DDset", click on it, this should then appear in the top slot in the dialog box.
Now click "Ok".
Repeat this operation for each Dialog box

To test select value from any "Drop Down",
Then select a value from another drop down.
The first drop down should now be blank.
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,025
Members
452,542
Latest member
Bricklin

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