Partager via


Interior Object (Word)

Represents the interior of an object.

Version Information

Version Added: Word 2007

Example

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. Use the Interior property to return the Interior object.

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

See Also

Concepts

Word Object Model Reference

Interior Object Members