Coloured hyperlinks in Word 2007?

D

DavidUK

Dear All,

I would like to insert different coloured hyperlinks into my documents. I
have created a simple macro which inserts the hyperlink with no problem. I
can control the hyperlink style using the dialog box but it makes a global
change to all the hyperlinks in the document (all the hyperlinks are the same
colour). What I want is to be able to press a shortcut key and insert a red
hyperlink and another key for a blue hyperlink. I have thought about using a
small image so I would have full control over colour etc but I feel that this
would not be such a good solution,

Any ideas?

Thanks

David
 
J

Jay Freedman

DavidUK said:
Dear All,

I would like to insert different coloured hyperlinks into my
documents. I have created a simple macro which inserts the hyperlink
with no problem. I can control the hyperlink style using the dialog
box but it makes a global change to all the hyperlinks in the
document (all the hyperlinks are the same colour). What I want is to
be able to press a shortcut key and insert a red hyperlink and
another key for a blue hyperlink. I have thought about using a small
image so I would have full control over colour etc but I feel that
this would not be such a good solution,

Any ideas?

Thanks

David

You can define your own character styles, such as HyperlinkRed or
HyperlinkGreen (or whatever names you like). In the New Style dialog, set
the Based On style as Hyperlink and change the color to your choice.

The Insert Hyperlink dialog will always apply the Hyperlink style to begin
with, but then you can select the link and apply one of your custom styles.

The only drawback (if you consider it to be a drawback and not an advantage)
is that the altered hyperlinks won't change color -- by having the
FollowedHyperlink style automatically applied -- when you follow the link,
as would happen with an unaltered hyperlink.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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