Search & replace plan txt link to Hyperlink?

  • Thread starter Frank Isernhagen via OfficeKB.com
  • Start date
F

Frank Isernhagen via OfficeKB.com

Hi

I have lots of text importet and it contains hyperlinks.
I need to "acivae" them as one can not click on them.

I use search (*=http)^13 and replace it with \1 and the "hperlink" style
Well, it now looks like a hyperlink but it is stll not clickale...
and now?

*****************************************
* This message was posted via http://www.officekb.com
*
* Report spam or abuse by clicking the following URL:
* http://www.officekb.com/Uwe/Abuse.aspx?aid=86f920a9e41a43829a7d13f4e8a85d1d
*****************************************
 
S

Suzanne S. Barnhill

Try using AutoFormat instead, making sure that "Internet and network paths
with hyperlinks" is one of the options selected.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
F

Frank Isernhagen via OfficeKB.com

mayn thanks for your reply

I tried it already, and got all internet aut format options are turned on already but links are neither recognized, formatted nor clickable
Only when I place the curser at the end of each link and press enter the link is "activated"
Already tried to use a ^13 to place after each link by using makro but this brings not the wanted effect.

Any idea?

*****************************************
* A copy of the whole thread can be found at:
* http://www.officekb.com/uwe/Forum.aspx/ms-word/5751
*
* Report spam or abuse by clicking the following URL:
* http://www.officekb.com/Uwe/Abuse.aspx?aid=0aab12fd8e1149f38ff60208f09e2872
*****************************************
 
F

Frank Isernhagen via OfficeKB.com

SORRY -> had switched off the enforceStyle funtion in word object properties.
My fault!

This do only hyperlingks auto formatting in case someone else needs it:

'
With Options
.AutoFormatApplyHeadings = False
.AutoFormatApplyLists = False
.AutoFormatApplyBulletedLists = False
.AutoFormatApplyOtherParas = False
.AutoFormatReplaceQuotes = False
.AutoFormatReplaceSymbols = False
.AutoFormatReplaceOrdinals = False
.AutoFormatReplaceFractions = False
.AutoFormatReplacePlainTextEmphasis = False
.AutoFormatReplaceHyperlinks = True
.AutoFormatPreserveStyles = False
.AutoFormatPlainTextWordMail = False
End With
Selection.Document.Kind = wdDocumentNotSpecified
Selection.Range.AutoFormat

*****************************************
* A copy of the whole thread can be found at:
* http://www.officekb.com/uwe/Forum.aspx/ms-word/5751
*
* Report spam or abuse by clicking the following URL:
* http://www.officekb.com/Uwe/Abuse.aspx?aid=839b6c4234614fb89fa2c066a19f5b7b
*****************************************
 
F

Frank Isernhagen via OfficeKB.com

You guys must hate me...
ANother mistake:

Ensure "PreserverStyle" is enabled so the template fonts styles are used, no other added, and predfeined functions (like for hyperliniks) will work:

SORRY -> had switched off the enforceStyle funtion in word object properties.
My fault!

This do only hyperlingks auto formatting in case someone else needs it:

'
With Options
.AutoFormatApplyHeadings = False
.AutoFormatApplyLists = False
.AutoFormatApplyBulletedLists = False
.AutoFormatApplyOtherParas = False
.AutoFormatReplaceQuotes = False
.AutoFormatReplaceSymbols = False
.AutoFormatReplaceOrdinals = False
.AutoFormatReplaceFractions = False
.AutoFormatReplacePlainTextEmphasis = False
.AutoFormatReplaceHyperlinks = True
.AutoFormatPreserveStyles = True
.AutoFormatPlainTextWordMail = False
End With
Selection.Document.Kind = wdDocumentNotSpecified
Selection.Range.AutoFormat

*****************************************
* A copy of the whole thread can be found at:
* http://www.officekb.com/uwe/Forum.aspx/ms-word/5751
*
* Report spam or abuse by clicking the following URL:
* http://www.officekb.com/Uwe/Abuse.aspx?aid=b6f1e863e7424361b55330a028d0416d
*****************************************
 

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

Similar Threads


Top