syntax dependent on values of multiple comboboxes

Glenn C

New Member
Joined
May 23, 2019
Messages
4
Hi All,

Is anyone able to help me with the below?

I need the values in blue to refer to the result on Combobox17, and the values in red to depend on the result of combobox5




If Sheets("changes dependent on combobox17").Cells(i, "A").Value = (Me.TextBox101) Or _
Sheets("changes dependent on combobox17").Cells(i, "A").Value = Val(Me.TextBox101) Then
Me.TextBox102 = Sheets("changes dependent on combobox17").Cells(i, "Dependent on the value in Combobox5").Value

Thanks

Glenn
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about
Code:
Sht = Me.ComboBox17.Value
If Sheets(Sht).Cells(i, "A").Value = (Me.TextBox101) Or _
Sheets(Sht).Cells(i, "A").Value = Val(Me.TextBox101) Then
Me.TextBox102 = Sheets(Sht).Cells(i, Me.ComboBox5.Value).Value
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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