Hi, I had a problem using mid(x, i, 1) to detect spaces in a cell - it wasn't recognizing what appeared to be a space. After using "debug.print Asc(Mid(x, i, 1)) " I discovered that what appeared to be a space had an Asc value of 160, so my question is should I now search for Asc 32 and Asc 160 or how can I ensure what appears to be a space is a space (Asc 32).
Thanks for any help
David
Thanks for any help
David