Tuesday, 20 December 2011

What is the Difference between vbCrLf VS. VBNewLine


vbCrLf - A carriage return and line feed [Chr(13) + Chr(10)]
vbNewLine - A platform-specific new line character, either [Chr(13) + Chr(10)] or [Chr(13)]
Actually vbCrLf is like hard-coded one and the vbNewLine is a platform-specific and contain whatever the codes to generate a new line...
And that is the main difference which makes vbNewLine much more flexibile especially when files need to be exchanged between different platforms.

0 Responses to “What is the Difference between vbCrLf VS. VBNewLine”

Post a Comment