Share via


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

Concepts

Border Object

Border Object Members