I am very sorry to remind everyone about the existence of Visual Basic, but it has:
VbCrLf
VbNewLine
ControlChars.CrLf
ControlChars.NewLine
Environment.NewLine
Chr(13) & Chr(10)
And I know what you’re asking: Yes, of course all of them have subtly different behavior, and some of them only work in VB.NET and not in classic VB or VBA.
The only thing you can rely on is that “\r\n” doesn’t work.
I am very sorry to remind everyone about the existence of Visual Basic, but it has:
And I know what you’re asking: Yes, of course all of them have subtly different behavior, and some of them only work in VB.NET and not in classic VB or VBA.
The only thing you can rely on is that “\r\n” doesn’t work.