A family of Microsoft word processing software products for creating web, email, and print documents.
Sorry.... I did warn you that I didn't test the code. The line that gave you trouble should be
.MatchWildcards = True
Although that will let the macro run, I found that it still won't do anything, because I misunderstood the original setup of the document.
If you defined a specific style that applies the DO-THIS- numbering (a style that is distinct from the styles that apply the standard numbering), then the code should look something like this (change "List Paragraph" to the actual name of your style):
Sub convertSpecific_Click()
Dim r As Range
Set r = ActiveDocument.Range
With r.Find
.Style = ActiveDocument.Styles("List Paragraph")
.Forward = False
While .Execute
r.ListFormat.ConvertNumbersToText wdNumberText
r.Collapse wdCollapseStart
Wend
End With
End Sub
The .Forward = False causes the macro to work from the end of the document back to the beginning. If you use the default .Forward = True, as soon as the first occurrence is converted to text, the second occurrence changes its number to 001. Working back-to-front avoids that.