The output of a script I have is generating a string of two sentences, now separated only with a space. Currently, the script has joined the strings from A1 and A2 to get A3
A1 Mary had
A2 a little lamb
A3 Mary had a little lamb
However, I'd like to insert a carriage return to separate the two strings using the replace function.
It feels like there should be a way to have excel count the string in A1 and then add a carriage return that far into A3.
What I have so far is below, but it's currently replacing all of Mary had with a return. Is there something simple I'm missing?
Range = Replace(A3, Left(A3, InStr(A3.Value, A1.Value)), vbLf)
Much appreciated.