Looks like you need only one chr(10) like: foo = replace(foo, chr(13), vbcrlf & "</p>" & vbcrlf & "<p>") I added vbcrlf in order to make your code look better. ===== ------------------------------------- Sasa Kulic http://www.sashadesign.com/ ______________________________________________________________________ Web-hosting solutions for home and business! http://website.yahoo.ca