Hyperlink Color

V

vbaNOOB

Hi all,

Hyperlink can be created in the document. Once the link is clicked, the
color of the link will be changed.

My question is if there is any way I can control the color after the link is
clicked?

I know I can control the link color or formatting when the link is first
created:
HL.range.font.color = wdColorGreen
HL.range.font.underline = wdUnderlineNone

Many Thanks
 
T

Tony Jollans

Before being visited, the link will take on the attributes of the
"Hyperlink" style. After having been visited, it will take on the attributes
of the "FollowedHyperlink" style.

You can, of course, apply direct formatting as you suggest, but you have no
way of knowing when or if the link has been visited so if you want to
automatically affect the format of visited links you must change the style.
 
V

vbaNOOB

Thank you very much.

So it's all about style. I can control all thing about Hyperlink by changing
those two style.
 
Top