pascal21
XLDnaute Barbatruc
Code:
If Cells(i, 6) > 0 And Cells(i, 3) <> 0 And Cells(i, 5) = 0 And Cells(i, 1) = 0 And Cells(i, 7) = 1 [COLOR=Red]And [/COLOR]Cells(i, 8) > 0 Then
comment écrire ce code pour que and (en rouge) soit remplacé par "ou"
un peu comme ceci
Code:
If Cells(i, 6) > 0 And Cells(i, 3) <> 0 And Cells(i, 5) = 0 And Cells(i, 1) = 0 [COLOR=Red]And Cells(i, 7) = 1 or Cells(i, 8) > 0[/COLOR] Then
donc cells (i,7)=1 ou cells(i,8)>0
merci