Excel Function : ENCODEURL
Returns a URL-encoded string
Microsoft Excel Reference Page
Syntax and Description of the ENCODEURL Excel Function
About ENCODEURL Excel Function
The ENCODEURL function encodes a URL by replacing certain characters with escape characters. This can be useful if you want to include a URL in a formula, and you want to make sure that any special characters in the URL are properly encoded.