Thanks! It works great

Now I have an additional question, since one problem is fixed, another one arises

))
Is there a way to add something to the above macro for the text to be replaced and appear in word like this (on line under the other, not on the same line):
xxxxxxxxxxxx
xxxxxxxxxxxxx
xxxxxxxxxxx
xxxxxxxxxxxx
Thank you so much for your help with this! I have struggled with research on this the whole day