1 2 3 4 5 6 7 8 9 10 11 12
| If Worksheets("Données").Cells(Target.Row, 7).Value <> "" Then
If Worksheets("Données").Cells(Target.Row, 9) <> "" Then
Else
With Worksheets("Données").Cells(Target.Row, 9).AddComment
.Text Text:=Cells(4, 1) & " -> " & Cells(4, 3) & vbLf & Cells(5, 1) & " -> " & Cells(5, 3) _
& vbLf & Cells(6, 1) & " -> " & Cells(6, 3) & vbLf & Cells(7, 1) & " -> " & Cells(7, 3) _
& vbLf & Cells(8, 1) & " -> " & Cells(8, 3) & vbLf & Cells(9, 1) & " -> " & Cells(9, 3) _
& vbLf & Cells(10, 1) & " -> " & Cells(10, 3)
.Visible = True
End With
End If
End If |
Partager