>I defined a macro that replaces a selected text in a document with a
> hyperlink. Depending on the marked text I want apply to the hyperlink
[quoted text clipped - 3 lines]
> 1. the hyperlink will be marked with a double line colored with green
> 2. the hyperlink will appear as it is e.g. capital letters
You need to format the Font property of the hyperlink text as appropriate.
Note that the underline has to be the same colour as the text.
> Another problem which I tried to overcome is how to change the address of
> the hyperlink so it will open a new form.
[quoted text clipped - 6 lines]
> the
> hyperlink to a form?
No, you can't link a hyperlink to a form.
> In this case how can this be accomplished?
Use a macrobutton field instead. Set it to call a macro which in turn shows
your form.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org