TextEditor Property

Home Page (Objects)OverviewFAQReference

Applies to: Application object

Gets the TextEditor object.

Syntax

object.TextEditor

Parameters

object

An expression that evaluates to an Application object. When you access the TextEditor property of the Application object, you can omit object because the name of the Application object is implied when you access its properties and methods.

Remarks

The TextEditor property has the TextEditor type.

Example

The following example gets the TextEditor object:

Dim Editorobj
Set Editorobj = Application.TextEditor