Newbie: vb Character constants

  • Thread starter Thread starter Cindy M -WordMVP-
  • Start date Start date
* Cindy M -WordMVP- said:
Merci :-) Finally found the information in the Help (the
Index wasn't too helpful), and I have a (silly) follow-up
question:

vbCrLf and vbNewLine are apparently the same
(Chr(13)&Chr(10))? Someone just decided "NewLine" is more
intuitive, so added it in?

AFAIK 'vbNewLine' has been introduced for VBA to make code more platform
independent (Macintosh/Windows). An implementation of (VB).NET for a
platform <> Windows may use an other character or sequence of characters
for the 'vbNewLine' or one of the 'NewLine' constants.
 
Back
Top