Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 526
- Office Version
- 2007
Hello everybody.
I have a range composed by cells with data separeted by ;
for example
125; 545; 5498; 154
Now, inside the cells, I need carriage returns to turn the text into this way:
125
545
5498
154
My unsuccessful attempt:
I have a range composed by cells with data separeted by ;
for example
125; 545; 5498; 154
Now, inside the cells, I need carriage returns to turn the text into this way:
125
545
5498
154
My unsuccessful attempt:
Code:
range.Replace what:=";", replacement:=vbNewLine, lookat:=xlPart, MatchCase:=False