Mark, is this stuff by chance in a table? If so, why not copy to
Excel, format and copy back?
************
Hope it helps!
Anne Troy
www.OfficeArticles.com
Hi Tony,
Thanks for the response, for reasons I won't bore you with I am
going to have to get around this without using a macro. Would you
have any other suggestions on how to get around this problem?
--
Thanks,
MarkN
:
Find and Replace doesn't have that kind of functionality. You will
need some
VBA code - something along these lines should do it ...
Selection.Find.ClearFormatting
With Selection.Find
.Text = "[!0-9.,][0-9.,]{1,}[!0-9]"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
End With
While Selection.Find.Execute
With Selection
.MoveStart wdCharacter, 1
.MoveEnd wdCharacter, -1
.Text = Format(Selection.Text, "$#,###,###.00")
.Collapse wdCollapseEnd
End With
Wend
--
Enjoy,
Tony
Hello,
How can I use find and replace to find a number ( eg. 10, 100,
1,000, 10.2,
10.55, etc) and replace that with a currency formatted version of
the number (eg. $10.00, $1,000.00, $10.20, etc).
Any help or suggestions appreciated.