Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2007

Tip: Looking for answers? Try searching our database.

change the color of the visited hyperlink

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vbaNOOB - 22 Mar 2007 04:57 GMT
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
Lene Fredborg - 22 Mar 2007 11:44 GMT
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

Signature

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

> Hi all
>
[quoted text clipped - 3 lines]
>
> Many thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.