Discussion: commentaire
Afficher un message
Vieux 13/05/2006, 10h40   #3 (permalink)
_Thierry
XLDnaute Barbatruc
 
Date d'inscription: février 2005
Messages: 3 100
Par défaut Re:commentaire

Bonjour Gérard, Alain, le Forum

Une approche cousine de celle d'Alain, mais par boucle sur une range de destination multi-cellules, au cas où...

Bon Week End
[ol]@+Thierry[/ol] [file name=XLD_Comments_VlookUp.zip size=16654]http://www.excel-downloads.com/components/com_simpleboard/uploaded/files/XLD_Comments_VlookUp.zip[/file]


EDITION !!!

PS : on peut ajouter une instruction 'Exit For' avant le dernier 'End If' si l'on veut récupérer le premier matching (et optimiser la rapidité), sinon en l'état, cette boucle retournera le dernier matching (si il y a plusieurs occurrences).

Sorry j'avais zappé ceci

Message édité par: _Thierry, à: 13/05/2006 09:45
Fichiers attachés
Type de fichier : zip XLD_Comments_VlookUp.zip (16,3 Ko, 7 affichages)
_Thierry est déconnecté   Réponse avec citation