I'm trying to replace some words with others in the same column using VBA. Currently, I'm able to replace single word but I want to replace multiple words at the same time.
Below is code-
Sub replce()
Worksheets("Sheet1").Columns("C").Replace _
What:="Ryan Group", Replacement:="COS", _
SearchOrder:=xlByColumns, MatchCase:=True
End Sub
But, I want to replace like
Sub replce()
Worksheets("Sheet1").Columns("C").Replace _
What:= "Ryan Group, Zyan Group, Wayn Group", Replacement:="COS, TAN, SIN"
SearchOrder:=xlByColumns, MatchCase:=True
End Sub
How can I replace the multiple words? can I implement this by using any other VBA code? Please help. Thanks in advance. Be safe!