DataLabel.Characters Property
Returns a Characters object that represents a range of characters within the object text. You can use the Characters object to format characters within a text string.
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 DataLabel
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.ObjectOptional 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.ObjectOptional 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
Remarks
The Characters object isn't a collection.