Bonjour,
Merci par avance si quelqu'un veux bien m'aider car je galére.
Je voudrais vérifier sur chaque ligne d'un fichier pour des colonnes distincts (elle ne se suivent pas ) par exemple F M Q Z si les cellules correspondante sont non vide.
Si toutes les cellules aprés vérifications sont non vide alors je mets une couleur (verte) sur une colone qui les précédent par exemple B pour la ligne correspondante.
Voici mon code:
Merci pour vos solutions.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 For j = 2 To .Range("A65356").End(xlUp).Row If (Range("T" & j).Value <> " " And Range("W" & j).Value <> " " And Range("Z" & j).Value <> " " And Range("AC" & j).Value <> " " And Range("AF" & j).Value <> " " And Range("AI" & j).Value <> " " And Range("AL" & j).Value <> " " And Range("AO" & j).Value <> "" And Range("AR" & j).Value <> " " And Range("AU" & j).Value <> " " And Range("AX" & j).Value <> " " And Range("BA" & j).Value <> " " And Range("BD" & j).Value <> " " And Range("BC" & j).Value <> " " And Range("BJ" & j).Value <> " " And Range("BM" & j).Value <> " " And Range("BP" & j).Value <> " " And Range("BS" & j).Value <> " " And Range("BV" & j).Value <> " " And Range("BY" & j).Value <> " ") Then Range("T" & j).Offset(0, -4).Interior.Color = 65280 Else Range("T" & j).Offset(0, -4).Interior.ColorIndex = xlNone End If next j.
Partager