Mise en forme conditionnelle Excel
Résolu/Fermé
A voir également:
- Mise en forme conditionnelle Excel
- Mise en forme conditionnelle excel - Guide
- Liste déroulante excel - Guide
- Formule excel - Guide
- Si et excel - Guide
- Aller à la ligne excel - Guide
3 réponses
J'ai résolu ça en VBA :
Merci...à moi ;-)
x = Worksheets("Liste").Range("Y3").End(xlDown).Row Range("A3:Y" & x).Select Selection.Borders(xlDiagonalDown).LineStyle = xlNone Selection.Borders(xlDiagonalUp).LineStyle = xlNone With Selection.Borders(xlEdgeLeft) .LineStyle = xlContinuous .ColorIndex = 0 .TintAndShade = 0 .Weight = xlThin End With With Selection.Borders(xlEdgeTop) .LineStyle = xlContinuous .ColorIndex = 0 .TintAndShade = 0 .Weight = xlThin End With With Selection.Borders(xlEdgeBottom) .LineStyle = xlContinuous .ColorIndex = 0 .TintAndShade = 0 .Weight = xlThin End With With Selection.Borders(xlEdgeRight) .LineStyle = xlContinuous .ColorIndex = 0 .TintAndShade = 0 .Weight = xlThin End With With Selection.Borders(xlInsideVertical) .LineStyle = xlContinuous .ColorIndex = 0 .TintAndShade = 0 .Weight = xlThin End With With Selection.Borders(xlInsideHorizontal) .LineStyle = xlContinuous .ColorIndex = 0 .TintAndShade = 0 .Weight = xlThin End With
Merci...à moi ;-)
Mike-31
Messages postés
18313
Date d'inscription
dimanche 17 février 2008
Statut
Contributeur
Dernière intervention
21 avril 2024
5 073
24 août 2010 à 17:00
24 août 2010 à 17:00
Salut,
teste ce code s'il te convient
Sub test()
Range("A3", Range("A6").End(xlDown).Offset(0, 24)).Borders.LineStyle = xlContinuous
End Sub
teste ce code s'il te convient
Sub test()
Range("A3", Range("A6").End(xlDown).Offset(0, 24)).Borders.LineStyle = xlContinuous
End Sub