vlinkColor Property

       

Returns or sets a Variant that specifies the color of all visited links in the current document. Read/write.

expression.vlinkColor

expression   Required. An expression that returns a DispFPHTMLDocument object.

Remarks

Values can be specified as a hexadecimal numeric representation or as an enumerated constant.

Example

The following example sets the color of all visited links in the current document to blue. The vlinkColor property is set to "3300FF", the hexadecimal representation of the color blue.


Sub ChangeLinkColor()
'Changes the color of visited links in the current document

    Dim objApp As FrontPage.Application
    Set objApp = FrontPage.Application
    'Set color of visited links to blue.
    objApp.ActiveDocument.vlinkColor = "3300FF"

End Sub