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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,224,943
Messages
6,181,919
Members
453,071
Latest member
Gizmo2024

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