vlinkColor Property

Microsoft FrontPage Visual Basic

vlinkColor Property

Returns or sets a Variant that specifies the color of all visited links in the current document. Corresponds to the vlink attribute of the BODY element.

expression.vlinkColor

expression    Required. An expression that returns one of the objects in the Applies to list.

Remarks

Values can be specified as color names or Web-safe red-green-blue (RGB) color values. For more information on available color names and RGB color values, see the HTML Color Table.

Both the vLink and vlinkColor properties correspond the vLink attribute of a BODY element. The difference between the two properties is that the vLink property is a member of the body object and the vlinkColor property is a member of the document object.

Example

The following example sets the color of all visited links in the active document to red.

    ActiveDocument.vlinkColor = "#FF0000"