Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Philippe.R
Bonsoir, Tu peux utiliser l'évènement change de la feuille :
Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("c1")) Is Nothing Then MsgBox [c1] End If End Sub
supposant la liste de validation en c1 -- Avec plaisir http://dj.joss.free.fr/trombine.htm http://jacxl.free.fr/mpfe/trombino.html Philippe.R Pour se connecter au forum : http://www.excelabo.net/mpfe/connexion.php News://news.microsoft.com/microsoft.public.fr.excel "lemig" a écrit dans le message de news:
Bonjour,
Est-il possible d'affecter une macro à une liste de validation? Si oui, comment?
Merci
Bonsoir,
Tu peux utiliser l'évènement change de la feuille :
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("c1")) Is Nothing Then
MsgBox [c1]
End If
End Sub
supposant la liste de validation en c1
--
Avec plaisir
http://dj.joss.free.fr/trombine.htm
http://jacxl.free.fr/mpfe/trombino.html
Philippe.R
Pour se connecter au forum :
http://www.excelabo.net/mpfe/connexion.php
News://news.microsoft.com/microsoft.public.fr.excel
"lemig" <lemig@discussions.microsoft.com> a écrit dans le message de
news:D21FBB6C-7CD9-43B8-A505-C88663991D37@microsoft.com...
Bonjour,
Est-il possible d'affecter une macro à une liste de validation? Si oui,
comment?
Bonsoir, Tu peux utiliser l'évènement change de la feuille :
Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("c1")) Is Nothing Then MsgBox [c1] End If End Sub
supposant la liste de validation en c1 -- Avec plaisir http://dj.joss.free.fr/trombine.htm http://jacxl.free.fr/mpfe/trombino.html Philippe.R Pour se connecter au forum : http://www.excelabo.net/mpfe/connexion.php News://news.microsoft.com/microsoft.public.fr.excel "lemig" a écrit dans le message de news:
Bonjour,
Est-il possible d'affecter une macro à une liste de validation? Si oui, comment?