Find & Replace: formatting, like bold

R

Reijo Koskela

I need a macro that searches for telephone numbers and replaces them
with same number + format = bold. How? Recording a macro for this does
not work: the recorded macro only deletes the telephone numbers =).

So I search for one of these:
^#^#^# ^#^#^#^#
^#^#^# ^#^#^# ^#^#^#^#
^#^#^#^ #^#^# ^#^#^#^

And replace them with same + format =bold.
 
C

Charles Kenyon

http://word.mvps.org/FAQs/General/UsingWildcards.htm,
http://word.mvps.org/FAQs/MacrosVBA/ReplaceQuotes.htm and
http://word.mvps.org/FAQs/MacrosVBA/FlushPartialFindBug.htm may help.

--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

Graham Mayor

Answered in another group to which you posted. Please do not multi-post. If
you wish to post to more than one newsgroup, then put all the groups in the
same 'send-to' line separated by commas. This links the messages and
minimizes duplication of effort by those who respond to questions.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top