Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro to swap words in a comma-separated list
Given a sentence like the following:
Someone is watching every Tom, Harry, and Dick as they pass the storefront. How can I use a wildcard search to find Harry, and Dick and replace it with Dick, and Harry This happens often enough that I want to record a macro. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro to swap words in a comma-separated list
On Wed, 27 May 2009 13:56:01 -0700, Malcolm Patterson wrote:
Given a sentence like the following: Someone is watching every Tom, Harry, and Dick as they pass the storefront. How can I use a wildcard search to find Harry, and Dick and replace it with Dick, and Harry This happens often enough that I want to record a macro. Find: (Harry)(, and )(Dick) Replace: \3\2\1 p. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i add a comma after each line on a long list of words? | Microsoft Word Help | |||
Word 2002 SP3 not printing range or comma separated page values | Microsoft Word Help | |||
How do I keep two words separated by a / together on same line. | Microsoft Word Help | |||
How do I sort a list of words separated by comas? | Microsoft Word Help | |||
How do I sort a single comma separated list? | Microsoft Word Help |