View Single Post
 
Old 10-10-2020, 11:24 AM
pushpi004 pushpi004 is offline Windows 10 Office 2016
Novice
 
Join Date: Feb 2020
Posts: 21
pushpi004 is on a distinguished road
Default

Quote:
Originally Posted by JohnWilson View Post
That's not how MatchCase works it applies to the word to be replaced.

If set to false both Bridge, bridge and e.g. BrIDGe would be replaced with brg

Try Replace Bridge with Brg matchCase True
AND also
Replace bridge with brg (matchcase True)

Hi John.. thanks for the reply..

I am aware of the functionality of MatchCase.. I do not require MatchCase feature. As per my example, I have defined that the all the words irrespective of their cases should be replaced, but the replaced word must have same case as that of the word being replaced in the presentation, i.e. if my presentation have both, Bridge and BRIDGE, they should be replaced with Brg and BRG respectively. Unfortunately, Textrange.replace is replacing both with brg.

I hope I have made myself clearer.

I request if you have any solution to this problem.

Thanks
Reply With Quote