I am using VB to open a Word document which contains Word Variable markers - e.g. for contact names and addresses. As the number of contacts and address lines is not fixed, I need to pass strings into the variables which are multi-line. In other words they are constructed like this :
Var1="Line 1" & vbcrlf & "Line 2" & vbcrlf etc.
This is all very well but when Word substitutes the text it displays the Carriage Return/Line Feed pairs as 'box' symbols and the text doesn't wrap - it's all on a single line.
Has anyone else encountered this problem and found a solution ?