Victoria M. answered 05/16/20
Microsoft Office - Excel, Word, & PowerPoint - CERTIFIED TEFL/TESOL
If you are using VBA your code would look something like this:
Private Sub ListBox1_Click()
TextBox1.Value = ListBox1.Text
End Sub
Private Sub OptionButton1_Click()
SetTextbox
End Sub
Private Sub OptionButton2_Click()
SetTextbox
End Sub
Private Sub SetTextbox()
If OptionButton1.Value = False And OptionButton2.Value = False Then
TextBox1.Value = " "
ElseIf OptionButton2.Value = False Then
TextBox1.Value = ListBox1.Text & " to schedule an appointment"
Else
TextBox1.Value = ListBox1.Text & " and wants a call back"
End If
End Sub
Private Sub TextBox1_Change()
End Sub
Private Sub UserForm_Initialize()
ListBox1.AddItem "A"
ListBox1.AddItem "B"
ListBox1.AddItem "C"
ListBox1.AddItem "A customer called"
End Sub
If you are just adding a list, radio buttons, and textbox on a worksheet your formula would look something like this: =A1&" "&IF(B1=1,+A4,IF(B1=2," and " &A6))
A1 = cell with list
B1= cell with assigned radio button (with value 1 or 2)
A4= cell with text “to schedule an appointment”
A6= cell with text “wants a call back”
A7 = A1&" "&IF(B1=1,+A4,IF(B1=2," and " &A6))
Link text box by clicking on it to activate it then in the formula box type =$A$7
Hope that helps