A much better alternative to my URLENCODED function is given at FreeVBCode code snippet: URLEncode for Large Strings