fr832
XLDnaute Occasionnel
Bonsoir comment puis je modifier ce code afin d'y integrer la formule sous excel
=mod(ligne();2)) qui permet de colorer une ligne sur deux?
Par avance merci à tous
😕
=mod(ligne();2)) qui permet de colorer une ligne sur deux?
Par avance merci à tous
Code:
Sub mfclisting()
Sheets("Listing").Select
Range([A4], [A65535].End(xlUp)).Resize(, 12).Select
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeRight)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlInsideVertical)
.LineStyle = xlContinuous
.Weight = xlHairline
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlInsideHorizontal)
.LineStyle = xlContinuous
.Weight = xlHairline
.ColorIndex = xlAutomatic
End With
Range("a4").Select
End Sub
😕