Share via


DisplayFormat.Characters Property

Gets a Characters object that represents a range of characters within the text of the associated Range object as it is displayed in the current user interface.

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

Syntax

'Declaration
ReadOnly Property Characters ( _
    Start As Object, _
    Length As Object _
) As Characters
    Get
'Usage
Dim instance As DisplayFormat
Dim Start As Object
Dim Length As Object
Dim value As Characters

value = instance.Characters(Start, Length)
Characters this[
    Object Start,
    Object Length
] { get; }

Parameters

  • Start
    Type: System.Object

    The first character to be returned. If this argument is either 1 or omitted, this property returns a range of characters starting with the first character.

  • Length
    Type: System.Object

    The number of characters to be returned. If this argument is omitted, this property returns the remainder of the string (everything after the Start character).

Property Value

Type: Microsoft.Office.Interop.Excel.Characters
A Characters object that represents a range of characters within the text of the associated Range object as it is displayed in the current user interface.

See Also

Reference

DisplayFormat Interface

DisplayFormat Members

Microsoft.Office.Interop.Excel Namespace