LegendKey.MarkerBackgroundColorIndex (Excel)

Zurückgeben oder festlegen die Hintergrundfarbe Markierung als Indexwert in der aktuellen Farbpalette oder als eine der folgenden XlColorIndex -Konstanten: XlColorIndexAutomatic oder xlColorIndexNone wird. Mögliche Rückgabewerte sind xlColorIndexAutomatic - Automatische Farbe, xlColorIndexNone - Keine Farbe.


ActiveChart.Legend.LegendEntries(1).LegendKey.MarkerBackgroundColorIndex = xlColorIndexAutomatic