Bonjour,
Je tente de "customiser" les graphiques générés par ma macro sur VBA.
Mes graphiques n ont pas de noms donc j utilise ActiveChart dans le code. J ai un bout de code qui coince pour changer le format du graphe (je l ai indiqué en rouge).
Merci d avance à celui ou celle qui m aidera
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15With ActiveChart.ChartArea.Border .ColorIndex = 57 .Weight = 2 .LineStyle = 1 End With Sheets("Synthese").DrawingObjects.RoundedCorners = False Sheets("Synthese").DrawingObjects.Shadow = False Sheets("Synthese").DrawingObjects.Select Selection.DrawingObjects.Fill.OneColorGradient Style:=msoGradientFromCenter, Variant:=2, _ Degree:=0.231372549019608 With ActiveChart.SeriesCollection(2).Border .ColorIndex = 50 .Weight = xlThin .LineStyle = xlContinuous End With![]()






Répondre avec citation
Partager