View Single Post
 
Old 01-13-2016, 03:01 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,342
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Robert:
Audioman probably wants to change strings like:
"apples, oranges, peaches"
to:
"apples, oranges and peaches"
not merely the literal "apples, oranges, peaches" string to:
"apples and oranges and peaches"
and to change other instances like:
"apples, oranges"
to:
"apples and oranges"
but your Find/Replace code won't do any of that.

It is also quite likely there will be many other commas that shouldn't be replaced - as in the one used in this sentence.

Audioman:
Although a macro could be written, the level of interactivity required would scarcely make it any more efficient than using a non-macro Find/Replace where you selectively choose whether to replace a given comma with ' and'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote