Borders.InsideLineStyle Property
Word Developer Reference |
Returns or sets the inside border for the specified object. .
Syntax
expression.InsideLineStyle
expression Required. A variable that represents a Borders collection.
Remarks
This property returns wdUndefined if more than one kind of border is applied to the specified object; otherwise, returns False or a WdLineStyle constant. Can be set to True, False, or a WdLineStyle constant.
True sets the line style to the default line style and the line width to the default line width. The default line style and line width can be set using the DefaultBorderLineWidth and DefaultBorderLineStyle properties.
Use either of the following instructions to remove the inside border from the first table in the active document.
Visual Basic for Applications |
---|
|
Example
This example adds borders between rows and between columns in the first table of the active document.
Visual Basic for Applications |
---|
|
This example adds borders between the first four paragraphs in the document.
Visual Basic for Applications |
---|
|
See Also