Arrêt d'une opération
Fermé
CHABRIER
Messages postés
4
Date d'inscription
jeudi 28 novembre 2013
Statut
Membre
Dernière intervention
24 novembre 2014
-
24 nov. 2014 à 09:22
f894009 Messages postés 17185 Date d'inscription dimanche 25 novembre 2007 Statut Membre Dernière intervention 15 avril 2024 - 24 nov. 2014 à 13:39
f894009 Messages postés 17185 Date d'inscription dimanche 25 novembre 2007 Statut Membre Dernière intervention 15 avril 2024 - 24 nov. 2014 à 13:39
3 réponses
f894009
Messages postés
17185
Date d'inscription
dimanche 25 novembre 2007
Statut
Membre
Dernière intervention
15 avril 2024
1 701
24 nov. 2014 à 12:15
24 nov. 2014 à 12:15
Bonjour,
Si la valeur recherché est "VRAI"
Faut montrer votre code pour savoir comment vous faites cette recherche
Si la valeur recherché est "VRAI"
Faut montrer votre code pour savoir comment vous faites cette recherche
CHABRIER
Messages postés
4
Date d'inscription
jeudi 28 novembre 2013
Statut
Membre
Dernière intervention
24 novembre 2014
24 nov. 2014 à 13:03
24 nov. 2014 à 13:03
j'enchaine cette séquence pour une dizaine de valeur
Cells.Find(What:="00610", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Range(ActiveCell, ActiveCell.Offset(0, "-8")).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("A1").Select
Cells.Find(What:="03004", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Range(ActiveCell, ActiveCell.Offset(0, "-8")).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("A1").Select
Cells.Find(What:="00610", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Range(ActiveCell, ActiveCell.Offset(0, "-8")).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("A1").Select
Cells.Find(What:="03004", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Range(ActiveCell, ActiveCell.Offset(0, "-8")).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("A1").Select
f894009
Messages postés
17185
Date d'inscription
dimanche 25 novembre 2007
Statut
Membre
Dernière intervention
15 avril 2024
1 701
Modifié par f894009 le 24/11/2014 à 13:42
Modifié par f894009 le 24/11/2014 à 13:42
Re,
ces valeurs a chercher sont dans la meme colonne ?????
Si la valeur recherché est "VRAI" tout ce déroule bien
ces valeurs a chercher sont dans la meme colonne ?????
Si la valeur recherché est "VRAI" tout ce déroule bien
Range(ActiveCell, ActiveCell.Offset(0,"-8")).SelectCeci ne marche pas, enlevez les ""