Bonjour, j'ai une incompatibilité de type sur la ligne : cellPlancher = cellPlancher - ref
Dans ma fonction suivante :
Je ne comprend pas cela marcher vendredi, comment cela se fait ?
Merci d'avance !
Dans ma fonction suivante :
Sub differenceResultat()
Dim cellPlancher As Range
Dim cellG As Range
Dim cellD As Range
Dim ref As String
ref = Cells(2, 14).Value
For Each cellPlancher In Range("B31:I38")
cellPlancher = cellPlancher - ref
Next cellPlancher
For Each cellG In Range("B41:I53")
cellG = cellG - ref
Next cellG
For Each cellD In Range("B56:I68")
cellD = cellD - ref
Next cellD
End Sub
Je ne comprend pas cela marcher vendredi, comment cela se fait ?
Merci d'avance !