Application.PlainText method (Access)

Strips the rich text formatting from a string and returns an unformatted text string.

Syntax

expression.PlainText (RichText, Length)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
RichText Required Variant The rich text string that you want to remove the formatting of.
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.