TextFrame.Characters(Object, Object) Method

Definition

Returns a Characters object that represents a range of characters within a shape’s text frame.

public Microsoft.Office.Interop.Excel.Characters Characters (object Start, object Length);
Public Function Characters (Optional Start As Object, Optional Length As Object) As Characters

Parameters

Start
Object

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

Length
Object

Optional Object. The number of characters to be returned. If this argument is omitted, the Characters method returns the remainder of the string (everything after the character that was set as the Start argument).

Returns

Remarks

You can use the Characters object to add and format characters within the text frame.

The Characters object isn't a collection.

Applies to