Application.PlainText Method

Access Developer Reference

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

Version Information
Version Added: Access 2007

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 character to return.

Return Value
String