bonjour le forum bonjour a tous.
voici la partie du code vaa qui cree probleme et presque toutes les lignes en fonction des circonstances.
ci joint le fichier après cet obstacle.
cette fois, cet la ligne de code ci dessous
.Controls("Label" & i + 8) = Range("Z" & i) 'mise à jour des Labels 13 à 18
Sub refreshCalcul()
For i = 5 To 10
With Me
.Controls("Label" & i + 8) = Range("Z" & i) 'mise à jour des Labels 13 à 18
With Me
.Controls("Label" & i + 35) = Range("AC" & i) 'mise à jour des Labels 40 à 45
End With
With Me
.Controls("Label" & i + 29) = Range("AD" & i) 'mise à jour des Labels 34 à 39
End With
End With
With Me.Label56
Label56 = Range("Y3").Value
End With
With Me.Label57
Label57 = Range("AD3").Value
End With
With Me.Label59
Label59 = Range("Z3").Value
End With
Next i
End Sub