I get
Compile Error: Expected function or variable
when I select a radio button and click ok on my form. The top line of code where the macro title is gets highlighted in yellow.
My form is four radio buttons and an ok button.
I've checked the macro names and option button names
Private Sub CommandButton1_Click()
If Ties.Radio_OpPlan.Value = True Then
Run clearties
ElseIf Ties.Radio_Prior.Value = True Then
Run TieToPrevious
ElseIf Ties.Radio_Custom.Value = True Then
Run CustomTie
ElseIf Ties.Radio_NetCase.Value = True Then
Run NetCaseTie
Else
output = MsgBox("You need to pick a case to tie to", vbExclamation)
End If
Me.Hide
output = MsgBox("Case tied out", vbOKOnly)
End Sub