Partager via


TextFrame2.TextRange Property

Returns the TextRange2 object that represents the text in the object. Read-only.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property TextRange As TextRange2
    Get
'Usage
Dim instance As TextFrame2
Dim value As TextRange2

value = instance.TextRange
TextRange2 TextRange { get; }

Property Value

Type: Microsoft.Office.Core.TextRange2
TextRange2

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.Excel Namespace