I'm writing text for a cell in VBA code. I want a hard return in the middle of my sentence and can't find the right combination of ASCII characters. In Access I've always used the combination Chr(13) & Chr(10), but both of those characters are giving me the box symbol in the middle of my text. This is what I have:
ActiveCell = "This is my first row of text" & Chr(13) & Chr(10) & "this is my second row of text."
I've also tried Chr(13) by itself and Chr(10) by itself. Any ideas?
ActiveCell = "This is my first row of text" & Chr(13) & Chr(10) & "this is my second row of text."
I've also tried Chr(13) by itself and Chr(10) by itself. Any ideas?