Use the character for carriage return rather than a carriage return itself.It is either chr13) or char(13)