Thanks Greg I'll no go and examine the Help file to understand the meaning
of "[0-9]{1,}" particularly "{1,}" part
However in my example, I used numerals just to make the problem clearer.
In reality the font that I'm searching-for could contain ANYTHING, maybe
even pictures, tables and stuff.
Eddie
> *From:* "Greg Maxey" <gmaxey@gmail.com>
> *Date:* 23 Mar 2007 12:23:49 -0700
[quoted text clipped - 65 lines]
> >
> > Eddie
Graham Mayor - 24 Mar 2007 13:03 GMT
{1,} means at least 1
http://www.gmayor.com/replace_using_wildcards.htm

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Thanks Greg I'll no go and examine the Help file to understand the
> meaning of "[0-9]{1,}" particularly "{1,}" part
[quoted text clipped - 75 lines]
>>>
>>> Eddie
Greg Maxey - 24 Mar 2007 14:17 GMT
Edward,
In that case don't include the .Text line at all. You are simply looking
for a style.
Sub Scratchmacro()
Dim oRng As Word.Range
Set oRng = Selection.Range 'or ActiveDocument.Range
With oRng.Find
.MatchWildcards = True
.Wrap = wdFindContinue
.Style = ActiveDocument.Styles("Numeral Font")
.Replacement.Text = "PREFIX^&SUFFIX"
.Execute Replace:=wdReplaceAll
End With
End Sub

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> Thanks Greg I'll no go and examine the Help file to understand the
> meaning of "[0-9]{1,}" particularly "{1,}" part
[quoted text clipped - 75 lines]
>>>
>>> Eddie
Edward Thrashcort - 24 Mar 2007 22:23 GMT
Yes that worked perfectly thanks
Eddie