![]() |
|
#1
|
||||
|
||||
![]() Try this Code:
Dim aHL As Hyperlink, sText As String For Each aHL In ActiveDocument.Hyperlinks sText = aHL.Range.Text sText = Replace(sText, Chr(13), "") aHL.TextToDisplay = sText Next aHL With ActiveDocument.Content.Find .Execute FindText:="^p^p", ReplaceWith:="^p", Wrap:=wdFindStop, Replace:=wdReplaceAll End With
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
alex100 | Word VBA | 3 | 05-16-2020 08:43 AM |
double spaced within paragraph 2 blank lines between paragraphs | BigOldArt | Word | 1 | 08-24-2017 09:08 AM |
![]() |
eduzs | Word VBA | 25 | 07-01-2017 04:04 PM |
![]() |
jcw | Word | 1 | 11-18-2011 11:47 AM |
![]() |
GWBDIRECT | Outlook | 3 | 04-06-2011 11:29 AM |