This documentation is archived and is not being maintained.

Document.BorderArts Property

Office 2007
Returns a BorderArts collection that represents the BorderArt types available for use in the specified publication. Read-only.



expression   A variable that represents a Document object.

Return Value


BorderArt are picture borders that can be applied to text boxes, picture frames, or rectangles.

The BorderArts collection includes any custom BorderArt types created by the user for the specified publication.


The following example returns the BorderArts collection and lists the names of all the BorderArt types available for use in the active publication.

Visual Basic for Applications
Sub ListBorderArt()
Dim bdaTemp As BorderArts
Dim bdaLoop As BorderArt

Set bdaTemp = ActiveDocument.BorderArts

For Each bdaLoop In bdaTemp
    Debug.Print "The name of this BorderArt is " & bdaLoop.Name
Next bdaLoop
End Sub