Returns the number of characters in the specified Characters object.
[Visual Basic] Property ReadOnly Count As Integer [C#] int Count { get; } [C++] __property int get_Count(); [JScript] function get Count() : int
This example sets the font size to 14 for the last character in the cell B2.
[C#]
IRange r = book.Worksheets[1].Range["B2"];
int n = r.Characters.Count;
r.Characters[n,1].Font.Size = 14;
[Visual Basic]
Dim r As IRange book.Worksheets(1).Range("B2")
Dim n As Integer = r.Characters.Count
r.Characters(n,1).Font.Size = 14
[C++]
IRange* r = book->Worksheets->Item[1]->Range->Item[S"B2"];
int n = r->Characters->Count;
r->Characters->Item[n,1]->Font->Size = 14;
ICharacters Interface | NativeExcel Namespace | IRange.Characters Property