WorksheetFunction.EncodeUrl method (Excel)

URL encodes the argument.

Syntax

expression. EncodeUrl(Arg1)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required STRING Text to be encoded.

Return value

VARIANT

Remarks

This method enables the referencing of other cells as arguments into the Web Service URL, as this will ensure the data will be URL encoded.

See also

WorksheetFunction Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.