Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 10-10-2020, 11:24 AM
pushpi004 pushpi004 is offline Case sensitivity not followed when using replace method. Windows 10 Case sensitivity not followed when using replace method. Office 2016
Novice
Case sensitivity not followed when using replace method.
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Case sensitivity not followed when using replace method. Title case macro gets a "type mismatch" error at the Instr method marceepoo Word VBA 1 03-05-2020 09:41 PM
Drawing Guides Sensitivity Setting? Slidemaker PowerPoint 2 05-18-2017 12:45 PM
Using wildcards in Find/Replace to change font/case angie450 Word 2 05-26-2016 11:09 AM
Case sensitivity not followed when using replace method. Find and replace with a macro, problem with letter case garcanrya Word VBA 2 01-10-2014 05:40 AM
Replace & case Jennifer Murphy Word 1 02-11-2013 03:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft