Bonsoir Cfab6, le forum,
Essaies ainsi:
Private Sub CmdbCalcul_Click()
Dim Lig As Long, Coef As Long, L As Long
With Sheets("Accueil")
Lig = Application.Match(CmbdMois.Value * 1, Range("O1:O16"), 0)
Select Case TbxAnciennete.Value * 1
Case Is < 11: Coef = Cells(Lig, "P")
Case Is < 21: Coef = Cells(Lig, "Q")
Case Else: Coef = Cells(Lig, "R")
End Select
TbxSocleP.Value = Coef
Tbx1.Value = ((Coef + TbxAbondement + TbxJoursS) * 1.74) + TbxN1
Set cel = .Range("C3:C37").Find(What:=CmbAnnee, LookIn:=xlValues, lookat:=xlWhole)
If Not cel Is Nothing Then
.Range("N" & cel.Row) = CDbl(Tbx1.Value)
End If
End With
End Sub
Cordialement,