Do you want to remove blue underlines in
email addresses and web site URLs from your printouts?
Here's how to get rid of the hypertext links
("hyperlinks") or simply change the Hypertext style
to remove the color and/or underline codes.
First, you can prevent them
from automatically appearing in newly typed text by turning off the
appropriate program option:
- Click Tools, QuickCorrect.
- Choose the SpeedLinks tab, and un-tick the
option, "Format words as hyperlinks as you type them".
For more on QuickCorrect, including some
useful tips, see here.
Here are 3 methods to get rid
them when they appear in e-mail addresses, web site URLs, etc.,
on labels or business cards
If you find that these underlines sometimes appear when you create
copies of business cards or Avery labels, you may want to use my macro,
LABLCOPY. It will
simply strip out all hypertext codes as it duplicates (copies) the
master card or label. No WordPerfect settings are affected.
Note: The LABLCOPY macro uses a Find
and Replace method to remove the beginning Hypertext code (the first
part of a code pair). Removing the first part of a paired code removes
the second part automatically.
You can do the same thing manually
with Edit, Find and Replace. With the cursor in the "Find:"
field, click Match, Codes, and in the Codes dialog that pops up, select
[HyperLink Begin], then click Close. In the "Replace with:" field, be
sure then <Nothing> is used. Then click Replace or Replace All.
LABLCOPY contains the following bit of
code, should you wish to automate the above Find and Replace procedure
with a macro -
// Macro begins -
// IMPORTANT: In the next command enter the actual code [HyperLink
Begin] using the Codes button on the Macros Toolbar (retain the quote
SearchString ("[HyperLink Begin]")
// Macro ends
Just copy this code into WordPerfect
(click here for help).
You can (optionally) choose Tools, Settings, Environment, and uncheck
"Activate hyperlinks on open." But be sure to click on Tools, QuickCorrect, SpeedLinks tab, and uncheck the box "Format words as hyperlinks when you type
them". You will get rid of the blue underlines
in future documents, but you will also inactivate their
hypertext links. If this is okay, then you have solved your problem.
(Note that sometimes you'll still see them when creating cards or
labels. The cause is unknown, at least to me. Use the LABLCOPY macro
However, if you want to get rid of blue underlines in hypertext, but
want to keep the hypertext link "active" in case you want to use it,
use the method below to change the
Hyperlink style and delete the [Color] and [Und] codes
from the style itself.
Test the change by entering an e-mail
address or URL. The blue underlines should be gone, but in the Reveal
Codes window you should see the text still bracketed by two [Hypertext]
codes. When you pass your mouse over the text the insertion point
should change to a hand, indicating the link is active.
to change hyperlink styles from the default blue-text-with-underlines
You can apply a new, custom format to
all hyperlinks -- i.e., "hypertexted" items and cross-referenced items
(including page entries in a Table of Contents) -- in the current
document by simply editing the [Hyperlink] style.
In a document that has [Hyperlink]
codes, make a backup of the document, then:
- 1. Click Format, Styles to bring up
the Styles Editor dialog.
- 2. Choose the Hypertext style
in the Styles Editor, then click Edit. (In some earlier versions of
WordPerfect you might need to click Options, then Setup, and choose to
display all System styles.)
- 3. At the bottom of the Styles Editor
dialog, be sure to enable (i.e., check) the two boxes, "Reveal Codes"
and "Show 'off codes'".
- 4. In the Contents pane of the Styles
Editor you can remove the [Color] and/or [Und] codes (drag them from
the pane or use the Delete or Backspace key. DO NOT delete the
long [Codes to the left are ON - Codes to the right are OFF] code. Use
Cancel if you make a mistake or you want to abort your changes.
At this point the blue color and/or
underlines are removed. If this is all you wish to do, stop here and
click OK, then Close. Otherwise, continue with the next steps to add
- 5. Select the [Codes to the
left are ON - Codes to the right are OFF] code. (This is often easier
using the Shift+arrow keys than with a mouse.) Once it is selected you
will see [Select] adjacent to the code.
- 6. Apply your new formatting to this
selected code. For example, you could apply a new font with the Styles
Editor's menu (e.g., Format, Font) or from the Styles Editor's
toolbar. Or you could use a different undlerline (assuming you removed
the existing [Und] codes in step 4) such as the dotted underline, with
Format, Font, Underline tab, Line style on the Styles Editor's menu.
- 7. Click OK, then Close, to return to
- If you want to make the new style
available in all new documents based on the default template, you can
choose the Hypertext style in the Styles Editor's Available Styles
list, click Options, then Copy ... to Default template. It might be
wise to make a backup of the default template
- If you want to apply highlighting to
the Hypertext style, you will first have to add the Highlight On/Off button
tool to the regular "Selected Text" property bar so that it also shows
on the Styles Editor's toolbar. [See here
for more on customizing property bars.] However, note that due to a bug in WPX4 through WPX6 (perhaps in other versions) adding highlighting to a hyperlink will hide the underline
below the linked text when you Publish to PDF. If the hyperlink was
active it should remain active in the PDF, but the linked text will not