![]() |
|
#8
|
||||
|
||||
|
In that case, try the following macro:
Code:
Sub Demo()
Application.ScreenUpdating = False
Dim i As Long
With ActiveDocument
For i = .Endnotes.Count To 1 Step -1
With .Endnotes(i)
.Reference.InsertAfter "<a id=""bn_" & i & """ href="" ../Text/endnotes.html#n_" & i & """>" & i & "</a>"
.Delete
End With
Next
End With
Application.ScreenUpdating = True
End Sub
For Mac macro installation & usage instructions, see: http://word.mvps.org/Mac/InstallMacro.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search and Replace puzzle | grantworth | Word | 3 | 04-07-2015 05:32 AM |
| Search and replace/insert HTML code into Master File using tags | dave8555 | Excel | 2 | 02-23-2014 03:51 PM |
search and replace
|
dirkoo | Word VBA | 2 | 08-14-2013 11:25 AM |
Odd search and replace query
|
Rabski | Word | 1 | 11-13-2012 02:25 PM |
| Search and Replace - Clear Search box | JostClan | Word | 1 | 05-04-2010 08:46 PM |