Bonjour,
J'aimerais qu'Excel m'avertisse quand une des cellules sélectionnées à un montant en dessous de 5.
Merci !
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("E39") < 5 Then
MsgBox "Oulalalala"
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cel As Range, maPlage As Range
Set maPlage = Union(Range("A1"), Range("B2"), Range("C3"), Range("E3"))
For Each Cel In maPlage
If Cel < 5 Then
MsgBox "Oulalalala, en : " & Cel.Address
Exit For
End If
Next
End Sub
Combien cela coûte-t-il au total ? Quelles aides apportent l'état et les acteurs du marché pour alléger cette charge non choisie ? Tous les détails sur Commentçamarche.net.
Merci !