(Solved) – VBA Replacing New-Lines (Enter) with space in a string [closed]

(solved)-–-vba-replacing-new-lines-(enter)-with-space-in-a-string-[closed]

I want to replace all enters in a string with space.
for example code should turn:

line 1 content
line 2 content

line 3 content

into:

line 1 content line 2 content line 3 content

Here is a real sample text:

Sell GBPCHF @ 1.15910

Take profit 1 at 1.15710

Take profit 2 at 1.15410

Take profit 3 at 1.14910

Stop loss at 1.16510

Any help would be grate!

Leave a Reply

Your email address will not be published. Required fields are marked *