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 / Long Documents / December 2003

Tip: Looking for answers? Try searching our database.

What is the fastest way to... (hyperlink)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phil - 19 Dec 2003 15:28 GMT
My document reads:

Xxx xxx xxxxxxxxxx xxx applesauce xxxxxxxx xxx x xxxxx xx xx x
applesauce  xx xxxxx x xxx xxxx xx xx x.  Xxx applesauce xxxx xxx xx
xx xxxxx xxx xx x xxxxxx applesauce xxx xxx x xx xxxxxx xxxxxxx.
Xxxxxxxx xxx applesauce xxxxxxxx xxx x xxxxx xx xx x
applesauce  xx xxxxx x xxx xxxx xx xx x.  Xxx applesauce xxxx xxx xx
xx xxxxx xxx xx x xxxxxx applesauce xxx xxx x xx xxxxxx xxxxxxx.

I need all occurrences of the word "applesauce" to be replaced by
hyperlinks (e.g. that transport the user to a bookmark in the document
where "applesauce" is defined).  All the hyperlinks will be the same.

What's the fastest way to accomplish this replacement?

Thanks very much,
-Phil
Greg Maxey - 19 Dec 2003 15:47 GMT
Phil,

Use Edit>Replace.

Format your first instance of applesauce with the
hyperlink directed to the bookmark.  Select the hyperlink
text and copy with CTRL+c.  With Edit>Replace, type
applesause in the find what field.  In the replace with
field put ^c (which represents the content of the
clipboard).  Select replace all.

>-----Original Message-----
>My document reads:
[quoted text clipped - 15 lines]
>-Phil
>.
Robert M. Franz (RMF) - 19 Dec 2003 17:22 GMT
Hi Phil,

[..]

> I need all occurrences of the word "applesauce" to be replaced by
> hyperlinks (e.g. that transport the user to a bookmark in the
> document where "applesauce" is defined).  All the hyperlinks will be
> the same.
>
> What's the fastest way to accomplish this replacement?

I'll throw in my "quicker" variant: instead of using the clipboard, use
an empty "replace" box and apply the "hyperlink" character style to it.

All in all, no big difference; you'll hit uppercase applesauces that
way, too (or: you won't change cases for any one you hit, actually).

Greetinx
.bob
..Word-MVP
Signature

/"\  ASCII Ribbon Campaign
\ /
 X        Against HTML
/ \     in e-mail & news

Greg Maxey - 19 Dec 2003 17:33 GMT
Robert,

I considered your method first, but in my testing the
hyperlink style is applied to the other instances of
applesauce but they did not point to the bookmark.  Did
you do something different?
>-----Original Message-----
>Hi Phil,
[quoted text clipped - 17 lines]
>..bob
>...Word-MVP
Robert M. Franz (RMF) - 28 Dec 2003 17:08 GMT
Hi Greg (and Phil),

> Robert,
>
[quoted text clipped - 3 lines]
> you do something different?
> >-----Original Message-----
[..]
> >> I need all occurrences of the word "applesauce" to be
> >> replaced by hyperlinks (e.g. that transport the user to a
> >> bookmark in the document where "applesauce" is defined).  All the
> >> hyperlinks will be the same.

Greg is right of course: I must have missed the parenthesis in the OP
(and been a bit distracted: without a target, what sense would a
hyperlink style make?). The style itself does not yield a target (not
even a field code, even if the text was an URI); there's no way Word
could guess we wanted to hyperlink to a bookmark here, hence it works as
should be expected – and does not hyperlink anywhere.

Sorry if this has led to confusion!
Greetinx from good old Europe
.bob
..Word-MVP
Signature

/"\  ASCII Ribbon Campaign
\ /
 X        Against HTML
/ \     in e-mail & news

 
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.