linkColor Property

       

Returns or sets a Variant that determines the color of all links in the current document. The variant corresponds to a hexadecimal color value or an enumerated color constant. Read/write.

expression.linkColor

expression   Required. An expression that returns a DispFPHTMLDocument object.

Example

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

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

    Dim objApp As FrontPage.Application
    Set objApp = FrontPage.Application
    'Set color of links to blue
    objApp.ActiveDocument.linkColor = "3333FF"

End Sub