WorksheetFunction.EncodeUrl Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

URL encodes the argument.

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.

Show: