UpBars.Interior property (Word)
Returns the interior of the object. Read-only Interior.
expression A variable that represents an 'UpBars' object.
The following example enables up and down bars, then sets the interior color of the down bars to red and the up bars to green, for the first chart group of the first chart in the active document.
With ActiveDocument.InlineShapes(1) If .HasChart Then With .Chart.ChartGroups(1) .HasUpDownBars = True .DownBars.Interior.ColorIndex = 3 .UpBars.Interior.ColorIndex = 4 End With End If End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.