You can use the FollowedHyperlinkColor property to specify or determine the default color of all followed hyperlinks within the Application object.
Setting
The FollowedHyperlinkColor property uses the following settings.
Setting | Visual Basic |
---|---|
Black | acColorIndexBlack (0) |
Maroon | acColorIndexMaroon (1) |
Green | acColorIndexGreen (2) |
Olive | acColorIndexOlive (3) |
Dark Blue | acColorIndexDarkBlue (4) |
Violet (default) | acColorIndexViolet (5) |
Teal | acColorIndexTeal (6) |
Gray | acColorIndexGray (7) |
Silver | acColorIndexSilver (8) |
Red | acColorIndexRed (9) |
Bright Green | acColorIndexBrightGreen (10) |
Yellow | acColorIndexYellow (11) |
Blue | acColorIndexBlue (12) |
Fushia | acColorIndexFushia (13) |
Aqua | acColorIndexAqua (14) |
White | acColorIndexWhite (15) |
You can set the FollowedHyperlinkColor property through the DefaultWebOptions property or the SetOption method by using Visual Basic.
You can to set or change the default followed hyperlink color available in the Web Options dialog box. To display this dialog box, click Options on the Tools menu. Click the General tab and click the Web Pages button.
Remarks
The default color of a hyperlink is changed to the followed hyperlink color when a hyperlink control has been pressed.
Use the DefaultWebOptions property to identify or set the Application object's DefaultWebOptions object properties.