ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,736
- Office Version
- 2007
- Platform
- Windows
On my userform i have 3 option buttons1,2,3
I also have TextBox4
Depending on which OptionButton is selected depends on the text to be placed in TextBox4
Option Buttons & TextBox are in a frame if that helps.
Ive tried the below but nothing enters the Textbox
I also have TextBox4
Depending on which OptionButton is selected depends on the text to be placed in TextBox4
Option Buttons & TextBox are in a frame if that helps.
Ive tried the below but nothing enters the Textbox
Rich (BB code):
Private Sub Worksheet_Change()
If OptionButton1.Value = True Then TextBox4.Value = "vbOKOnly": OptionButton1.Value = True
If OptionButton2.Value = True Then TextBox4.Value = "vbOKCancel": OptionButton2.Value = True
If OptionButton3.Value = True Then TextBox4.Value = "vbYesNo": OptionButton3.Value = True
End Sub