bonjour
j'ai besoin d'aide pou mon code "Compilier deux code Private Sub Worksheet_Change"
j'ai ce code :
""Dim xRg As Range
'Update by Extendoffice 2018/3/7
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Target.Cells.Count > 1 Then Exit Sub
Set xRg = Intersect(Range("F8:G100"), Target)
If xRg Is Nothing Then Exit Sub
If Target.Value = "pas fait" Then
Call EnvoiMail3
End If
End Sub
sauf que je veux l'appliquer sur 10 type de mail(chaque plage de cellule corespond a un mail)
expl: F8:G100--> call envoi mail1
("D8:E100")-->call envoi mail2
ext......
merci pour votre aide
cordialement