F
Fuzzhead
I want to find all occurrences of ‘Figure(space)number’ and change it to
‘Figure(Nonbreaking space)Number’ where the number can be 1 to 9.
I have the following but it finds all occurrences of the work "Figure " and
I'm looking for Figure 1, Figure 2 and so on.
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "Figure "
.Replacement.Text = "Figure^s"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute Replace:=wdReplaceAll
End With
‘Figure(Nonbreaking space)Number’ where the number can be 1 to 9.
I have the following but it finds all occurrences of the work "Figure " and
I'm looking for Figure 1, Figure 2 and so on.
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "Figure "
.Replacement.Text = "Figure^s"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute Replace:=wdReplaceAll
End With