Share via


Frameset.FramesetBorderColor Property

Word Developer Reference

Returns or sets the color of the frame borders on the specified frames page. Read/write.

Syntax

expression.FramesetBorderColor

expression   Required. A variable that represents a Frameset object.

Remarks

This property can be any of the WdColor constants or a value returned by Visual Basic's RGB function. For more information on creating frames pages, see Creating frames pages.

Example

This example sets the color of frame borders in the specified frames page to tan.

Visual Basic for Applications
  With ActiveWindow.Document.Frameset
    .FramesetBorderColor = wdColorTan
    .FramesetBorderWidth = 6
End With

See Also