I’m using doc.Range.Replace with some text that includes line feed characters (\n) and the resulting block of text in the Word document is all scrunched together, and is missing the new lines. How can I preserve the new lines?
Thanks.
I’m using doc.Range.Replace with some text that includes line feed characters (\n) and the resulting block of text in the Word document is all scrunched together, and is missing the new lines. How can I preserve the new lines?
If I do this to my string variable before calling doc.Range.Replace it seems fine: