question for Shyam ...

G

Geoff Cox

Shyam,

Just in case an earlier question of mine gets lost ...

http://skp.mvps.org/ppt00025.htm#2

The code above appears to be able to replace 1 word by several but
will not replace several contiguous words with several words? have I
missed anything?

Could it be easily changed to cope with a phrase rather than 1 word?

Cheers

Geoff
 
S

Shyam Pillai

Hi Geoff,

You need to make a minor change for this to work. I've limited to find and
replace to whole words only and not phrases to enable the same change the
following
WholeWords:=True to WholeWords:=False in the 2 locations that it occurs in
the code.
 
G

Geoff Cox

Hi Geoff,

You need to make a minor change for this to work. I've limited to find and
replace to whole words only and not phrases to enable the same change the
following
WholeWords:=True to WholeWords:=False in the 2 locations that it occurs in
the code.

Thanks Shyam - all is well!

Cheers

Geoff
 

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