ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,226
- Office Version
- 2007
- Platform
- Windows
Morning,
Below is an example of some code im surrently using to show / hide other optionButtuons
My question is how would i go about the same kind of thing BUT take the value from a ComboBox selection NOT an option button.
Example.
On my userform ComboBox1 has the selectable options ONE TWO THREE.
How would i write the code so that,
If ComboBox1.Value = "ONE" Then
OptionButton1.Visible = True
Thanks
Below is an example of some code im surrently using to show / hide other optionButtuons
Rich (BB code):
Private Sub OptionButton6_Change()
If OptionButton6.Value = True Then
OptionButton1.Visible = False
OptionButton2.Visible = False
OptionButton3.Visible = True
OptionButton4.Visible = True
Else
TextBox3.Value = ""
TextBox4.Value = ""
End If
End Sub
My question is how would i go about the same kind of thing BUT take the value from a ComboBox selection NOT an option button.
Example.
On my userform ComboBox1 has the selectable options ONE TWO THREE.
How would i write the code so that,
If ComboBox1.Value = "ONE" Then
OptionButton1.Visible = True
Thanks