I want a excel VBA code that can replace Specific text with multiple occurance in a single cell with a number, example given below"
If Range("A1") has valueDX-12345, I am fine
DX-3788277, How are you?
I want to tell you xyz.
DX-678900, I am coming at your home; DX-678900_NO
DX-5432123, Come over.
Then code should replace all the starting DX- with D1-, D2-, D3-, ad so on, example given below:
D1-12345, I am fine
D2-3788277, How are you?
I want to tell you xyz.
D3-678900, I am coming at your home; DX-678900_NO
D4-5432123, Come over.
Bookmarks