P
philipos_353
Guest
bonjour a tous,
je n'arrive pas a trouver la syntaxe pour que ma macro (merci pierre jean) transfert les valeurs en rouge. colorindex=3 est inopérant.
merci d'avance a tres bientot.
philippe
Sub report()
For n = 2 To Sheets("Feuil1").Range("C65536").End(xlUp).Row
Set c = Sheets("DAF DKS1160M (CMT) 3000H").Columns("C").Find(Sheets("Feuil1").Range("C" & n), LookIn:=xlValues, lookat:=xlWhole)
If Not c Is Nothing Then
Sheets("DAF DKS1160M (CMT) 3000H").Cells(c.Row, c.Column + 10) = Sheets("Feuil1").Range("C" & n).Offset(0, 6)
ColorIndex = 3
End If
Next n
End Sub
je n'arrive pas a trouver la syntaxe pour que ma macro (merci pierre jean) transfert les valeurs en rouge. colorindex=3 est inopérant.
merci d'avance a tres bientot.
philippe
Sub report()
For n = 2 To Sheets("Feuil1").Range("C65536").End(xlUp).Row
Set c = Sheets("DAF DKS1160M (CMT) 3000H").Columns("C").Find(Sheets("Feuil1").Range("C" & n), LookIn:=xlValues, lookat:=xlWhole)
If Not c Is Nothing Then
Sheets("DAF DKS1160M (CMT) 3000H").Cells(c.Row, c.Column + 10) = Sheets("Feuil1").Range("C" & n).Offset(0, 6)
ColorIndex = 3
End If
Next n
End Sub