macro to select a specific text at a time in the entire document
Hi,
I need a macro to select a specific text at a time in the entire document, which makes easy to me to do a common formatting to the specific text in the entire document at once.
If each line that begins with ADD=> ends with a paragraph mark, then you can use "Find In" in the Find dialog.
In the Find dialog, click More and check "Use wildcards."
Use this text string: ADD=\>*^13
Click "Find In" and select "Main Document."
Word will select all the found instances.
Click the title bar of the document to return focus to the document without deselecting the found instances.
Apply your text shading in the way you specify; you can also select Borders and Shading from the Borders dropdown in the Paragraph group on the Home tab and then select the Shading tab.
Repeat for the lines beginning with DEL=>
Microsoft MVP (Word) since 1999 Fairhope, Alabama USA http://ssbarnhill.com http://wordfaqs.ssbarnhill.com Screen shots captured with TechSmith's Snagit
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.