Border.Visible property (Word)

True if the specified object is visible. Read/write Boolean.

Syntax

expression.Visible

expression Required. A variable that represents a 'Border' object.

Remarks

For any object, some methods and properties may be unavailable if the Visible property is False.

Example

This example creates a table in the active document and removes the default borders from the table.

Set myTable = ActiveDocument.Tables.Add(Range:=Selection.Range, _ 
 NumRows:=12, NumColumns:=5) 
For Each aBorder In myTable.Borders 
 aBorder.Visible = False 
Next aBorder

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.