Axis.MinorGridlines (Word)

Renvoie le quadrillage secondaire de l'axe spécifié.

Seuls les axes du groupe d’axes principaux peuvent posséder un quadrillage.


With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 With .Chart.Axes(xlValue) 
 If .HasMinorGridlines Then 
 ' Set the color to blue. 
 .MinorGridlines.Border.ColorIndex = 5 
 End If 
 End With 
 End If 
End With