I think I understand the question
One way. You'll have to integrate your own logic / formula. I just used 's' to show the selections
Option Explicit
Private Sub CommandButton1_Click()
Dim s As String
With Me
If .OptionButton1 Then
If .OptionButton4 Then
s = "Selected " & OptionButton1.Caption & "-" & OptionButton4.Caption
ElseIf .OptionButton5 Then
s = "Selected " & OptionButton1.Caption & "-" & OptionButton5.Caption
End If
ElseIf .OptionButton2 Then
If .OptionButton4 Then
s = "Selected " & OptionButton2.Caption & "-" & OptionButton4.Caption
ElseIf .OptionButton5 Then
s = "Selected " & OptionButton2.Caption & "-" & OptionButton5.Caption
End If
ElseIf .OptionButton3 Then
If .OptionButton4 Then
s = "Selected " & OptionButton3.Caption & "-" & OptionButton4.Caption
ElseIf .OptionButton5 Then
s = "Selected " & OptionButton3.Caption & "-" & OptionButton5.Caption
End If
End If
End With
MsgBox s
End Sub
Private Sub UserForm_Initialize()
With Me
.OptionButton1 = True
.OptionButton4 = True
End With
End Sub