Characters Interface

Represents characters in an object that contains text. The Characters object lets you modify any sequence of characters contained in the full text string.

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

Syntax

'Declaration
<GuidAttribute("00020878-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface Characters
'Usage
Dim instance As Characters
[GuidAttribute("00020878-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface Characters

Remarks

Use Characters(start, length), where start is the start character number and length is the number of characters, to return a Characters object.

The Characters method is necessary only when you need to change some of an object’s text without affecting the rest (you cannot use the Characters method to format a portion of the text if the object doesn’t support rich text). To change all the text at the same time, you can usually apply the appropriate method or property directly to the object.

See Also

Reference

Characters Members

Microsoft.Office.Interop.Excel Namespace