linkColor Property

Microsoft FrontPage Visual Basic

linkColor Property

Returns or sets a Variant that represents the color of hyperlinks in the specified document. Corresponds to the link attribute for the BODY element.

expression.linkColor

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

Remarks

Performs the same function as the link property.

Example

The following example makes the hyperlink color in the active document aqua.

    Sub SetHyperlinkColor()
    Dim objDocument As FPHTMLDocument
    
    Set objDocument = ActiveDocument
    
    objDocument.linkColor = "aqua"
End Sub