So I'm using the replace function to automatically format html,
here's my code
Replace([thethingthati'mreplacing], Chr(13), "</dd>" & Chr(13) & Chr(9) & Chr(9) & "<dd>")
It works like a charm except that for some reason the Replace function throws in a carriage return at the end of each replace. The code still works fine with the return, but my formatting OCD is kicking in and I MUST solve this or die trying.
Does anyone know how to negate the return? Tried adding in a chr code for DEL, but that didn't work.
Thanks in advance for any help!