ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,227
- Office Version
- 2007
- Platform
- Windows
Morning,
Is my code correct or please advise.
I would like to prefill TextBox3 from an optionbutton selection.
I have the code below on my userform & expecting it to work like if i select optionbutton1 then i should see TextBox3 prefilled with 41601 but after selecting optiobutton1 TextBox3 is still blank.
Thanks
Is my code correct or please advise.
I would like to prefill TextBox3 from an optionbutton selection.
I have the code below on my userform & expecting it to work like if i select optionbutton1 then i should see TextBox3 prefilled with 41601 but after selecting optiobutton1 TextBox3 is still blank.
Thanks
Rich (BB code):
If OptionButton1.Value = True Then
TextBox3.Text = "41601"
End If
If OptionButton2.Value = True Then
TextBox3.Text = "UPRATED 41601"
End If
If OptionButton3.Value = True Then
TextBox3.Text = "41835"
End If
If OptionButton4.Value = True Then
TextBox3.Text = "UPRATED 41835"
End If