Vba excel

Fermé
santanadk - 8 févr. 2010 à 16:24
garion28 Messages postés 1543 Date d'inscription mardi 16 juin 2009 Statut Membre Dernière intervention 3 avril 2011 - 9 févr. 2010 à 07:58
Bonjour,
With Selection.Validation
Sheets("Feuil2").Select
Cells(a, b).Select
.Delete
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
xlBetween, Formula1:=Sheets("Feuil1").Range(Cells(i, n), Cells(j, n))
End With
le problmé içi : Range(Cells(i, n), Cells(j, n))
et j'arrive pa le résoudre merçi pour votre Intervention

2 réponses

garion28 Messages postés 1543 Date d'inscription mardi 16 juin 2009 Statut Membre Dernière intervention 3 avril 2011 395
8 févr. 2010 à 16:29
Range(Cells(i, n) & ":" & Cells(j, n))
0
:-( j'ai essayé avec ta réponse mai il y a tjr une erreur
0
garion28 Messages postés 1543 Date d'inscription mardi 16 juin 2009 Statut Membre Dernière intervention 3 avril 2011 395
9 févr. 2010 à 07:58
essai de rajouter .adress a la fin des .cells

et quel valeur ont les variables j et n ?
0