alinkColor Property

Sets or returns a String that represents the value of the alinkColor attribute, which represents the color of all active links in the document.

expression.alinkColor

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

Remarks

The alinkColor property sets and returns the same results as the aLink property.

Example

The following example sets the active link for the active document.

Sub SetAlinkColor(objDoc As FPHTMLDocument, strColor As String)
    objDoc.alinkColor = strColor
End Sub

Use the following example to call the preceding subroutine.

Sub CallSetALinkColor()
    Call SetAlinkColor(ActiveDocument, "aqua")
End Sub

Applies to | FPHTMLDocument Object | IHTMLDocument2 Object