String - Is in the string & Replace it

Post Reply
wwj
Posts: 2497
Joined: 27 Jan 2007 08:16

String - Is in the string & Replace it

Post by wwj »

Code: Select all


If InStr(MainString, SubString) <> 0 Then

https://wellsr.com/vba/2016/excel/use-v ... substring/

Code: Select all

Replace ( string1, find, replacement, [start, [count, [compare]]] )
https://www.techonthenet.com/excel/form ... ce_vba.php
Post Reply