Muokkaa

Jaa


Border.Inside property (Word)

True if an inside border can be applied to the specified object. Read-only Boolean.

Syntax

expression. Inside

expression An expression that returns a 'Border' object.

Example

If the current selection supports inside borders (that is, if multiple paragraphs or cells are selected), this example applies a single inside border.

Dim borderLoop As Border 
 
For Each borderLoop In Selection.Borders 
 If borderLoop.Inside = True Then _ 
 borderLoop.LineStyle = wdLineStyleSingle 
Next borderLoop

See also

Border Object

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.