Private Sub CommandButton1_Click()
Dim res(), elem, s$
res = Array(TextBox1.Value, TextBox2.Value, TextBox3.Value)
For Each elem In res
s = IIf(s = "", IIf(elem = "", "", elem), IIf(elem = "", s, s & "*" & elem))
Next elem
If OptionButton1 Then
Cells(ActiveCell.Row, 1).Font.Size = 10: Cells(ActiveCell.Row, 1) = s
ElseIf OptionButton2 Then
Cells(ActiveCell.Row, 1).Font.Size = 8: Cells(ActiveCell.Row, 1) = Replace(s, "*", vbLf)
Else
Cells(ActiveCell.Row, 1) = s
End If
Unload UserForm1
End Sub