Borders.OutsideColorIndex Property
Word Developer Reference |
Returns or sets the color of the outside borders. Read/write WdColorIndex.
Syntax
expression.OutsideColorIndex
expression Required. A variable that represents a Borders collection.
Remarks
If the OutsideLineStyle property is set to either wdLineStyleNone or False, setting this property has no effect.
Example
This example adds borders between rows and between columns in the first table of the active document, and then it sets the colors for both the inside and outside borders.
Visual Basic for Applications |
---|
|
This example adds a red, 0.75-point double border around the first paragraph in the active document.
Visual Basic for Applications |
---|
|
See Also