Bonjour a tous,
j'ai un debogage avec cet Vba
Sub somme()
Dim i As Integer
Dim j As Integer
For i = 1 To 11
For j = 1 To 3
Cells(5 + i, 26 + j).Value = Cells(5 + i, 26 + j).Value + Cells(5 + i, 22 + j).Value
Next j
Next i
End Sub
j'ai 4 colonne sur 11 lignes, si il ont un montant
je garde le montant des 4 autres colonnes et 11 lignes +celle-ci
merci a vous tous
j'ai un debogage avec cet Vba
Sub somme()
Dim i As Integer
Dim j As Integer
For i = 1 To 11
For j = 1 To 3
Cells(5 + i, 26 + j).Value = Cells(5 + i, 26 + j).Value + Cells(5 + i, 22 + j).Value
Next j
Next i
End Sub
j'ai 4 colonne sur 11 lignes, si il ont un montant
je garde le montant des 4 autres colonnes et 11 lignes +celle-ci
merci a vous tous