change the color of the visited hyperlink

V

vbaNOOB

Hi all

I would like to change the default color of visited hyperlink in VBA.
Is that a way that I could control each hyperlink visited color ??
Or I have to set it for all hyperlink?

Many thanks
 
L

Lene Fredborg

The color of visited hyperlinks is determined by the font color of the
built-in style named “FollowedHyperlinkâ€. To change the color, you need to
modify that style, e.g.

ActiveDocument.Styles(wdStyleHyperlinkFollowed).Font.Color = wdColorDarkRed

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top