Dim st As String
st = "Line 1" & vbCrLf & "Line 2"
This will concatenate "Line 1"
and "Line 2"
with a line break in between. You can also use vbNewLine
for the same effect, but vbCrLf
is generally more reliable across various environments where you might run the code.