![]() |
|
#2
|
||||
|
||||
|
Try
Code:
Sub DeleteFootnoteNumbers()
Dim x As Long
With Selection.Find
.ClearFormatting
.Font.Color = wdColorRed
.Replacement.ClearFormatting
.Text = "^2 "
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
Do While .Execute(Replace:=wdReplaceOne)
x = x + 1
Loop
End With
MsgBox "Replaced: " & x
End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
need help in counting the number of rows that contain 5 consecutive X
|
Marcia | Excel | 10 | 11-25-2018 08:41 PM |
Counting rows with a macro?
|
Jennifer Murphy | Word Tables | 1 | 08-23-2016 03:00 PM |
Counting the number of opening of a document
|
sannhei | Word | 2 | 03-27-2015 05:40 AM |
| Counting unique visitors by ward, counting monthly visits by status, editing existing workbook | JaxV | Excel | 9 | 11-14-2014 12:25 AM |
Counting Number of Months from a static date
|
bremen22 | Excel | 4 | 11-25-2013 11:57 AM |