lundi 27 mars 2017

Non-functional IF Else VBA

Witless newbie attempting an If Else based on entries made on a user form:

If OptionButtonMed.Value = True Then
    pp = pp + 2
ElseIf OptionButtonLarge = True Then
    pp = pp + 4
ElseIf OptionButtonXL = True Then
    pp = pp + 8
Else: pp
End If

It simply does not work. Suggestions valued.

Aucun commentaire:

Enregistrer un commentaire