Application.HtmlEncode method (Access)

Converts a string to an HTML-encoded string.

Syntax

expression.HtmlEncode (PlainText, Length)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
PlainText Required Variant The text string to encode.
Length Optional Variant The number of characters to return.

Return value

String

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.