Hyperlinks need to be removed (driving me crazy)

Get help using and writing Nisus Writer Pro macros.
Post Reply
sethgodin
Posts: 13
Joined: 2006-12-14 09:39:15

Hyperlinks need to be removed (driving me crazy)

Post by sethgodin » 2010-08-12 04:14:31

I have a 200 page document with hyperlinks here and there. They're blue and they're underlined.

I'm exporting it eventually to the Kindle, and Amazon won't allow blue text. I've tried every trick I can think of to remove the Internet style or to change the color of it, and nothing works other than manually copying each and pasting text only. I can't even figure out how to use the find command to find each one.

I'd just copy it all and paste it all as text only, but then I'd lose my heads, my styles and my bolds and italics, which would be worse.

Help me Nisus!

thanks.

Seth

Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: Hyperlinks need to be removed (driving me crazy)

Post by Kino » 2010-08-12 05:27:20

sethgodin wrote:I've tried every trick I can think of to remove the Internet style or to change the color of it, and nothing works other than manually copying each and pasting text only.
As Martin explained in this posting, you can hide the blue underline but I’m afraid you cannot remove the blue colour from hyperlinked text. To remove all hyperlinks from your document, run this macro.

Code: Select all

Select Document Start
while Select Next Link
	Set Link ''
end

sethgodin
Posts: 13
Joined: 2006-12-14 09:39:15

Re: Hyperlinks need to be removed (driving me crazy)

Post by sethgodin » 2010-08-12 08:13:05

it worked.

not elegant, but effective. thanks for the quick response.

Post Reply