Partager via


Range.Text Property

Returns or sets the text for the specified object.

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

Syntax

'Declaration
ReadOnly Property Text As Object
    Get
'Usage
Dim instance As Range
Dim value As Object

value = instance.Text
Object Text { get; }

Property Value

Type: System.Object

Remarks

For the Phonetic object, this property returns or sets its phonetic text. You cannot set this property to Null.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace