![]() |
#1
|
|||
|
|||
![]()
Hi all..
I hope all are doing well.. I have been trying to develop a small macro which could find certain words from a PowerPoint presentation and replace them with certain other words using the method TextRange.Replace(FindWhat:=FindString, _ Replacewhat:=ReplaceString, WholeWords:=True, MatchCase := False) The requirement is that the ReplaceString should have the same case sensitivity as that of the words to be replaced in the presentation. But using the above method, the case of the ReplaceString always remains the same( as defined earlier). I need it to change it as per the case of the FindString from the presentation. For example, if my FindString is bridge and ReplaceString is brg, in my presentation, if Bridge comes up, it should be replaced with Brg ( but with above method, it is replacing Bridge with brg) I hope my query has made some sense.. Can anyone please help me with this? Thanks Regards Last edited by pushpi004; 10-10-2020 at 10:35 AM. Reason: Providing example for better understanding |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
garcanrya | Word VBA | 2 | 01-10-2014 05:40 AM |
Replace & case | Jennifer Murphy | Word | 1 | 02-11-2013 03:26 AM |