Private Sub Cmd_Calculer_Click() Dim c As Single Dim o As Single Dim s As Single c = CSng(Compte.Text) o = CSng(Operation.Text) If Debit.Value = 1 And Credit.
Value <> 1 Then s=c-o Else If Debit.Value <> 1 And Credit.Value = 1 Then s=c+o Else
MsgBox "opration rronne", vbCritical End If End If solde.Caption = CStr(s)