Point.MarkerBackgroundColorIndex (Word)

Devuelve o establece el color de fondo del marcador como un índice para la paleta de colores activa o bien como una de las siguientes constantes XlColorIndex : xlColorIndexAutomatic o xlColorIndexNone. Posibles valores de retorno son xlColorIndexAutomatic - Color automático, xlColorIndexNone - Sin color.

La propiedad se aplica solo a los gráficos de líneas, dispersión y radiales.


With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 With .Chart.SeriesCollection(1).Points(2) 
 ' Set the background color to green. 
 .MarkerBackgroundColorIndex = 4 
 
 ' Set the foreground color to red. 
 .MarkerForegroundColorIndex = 3 
 End With 
 End If 
End With