April 2006
Beginner
1114 pages
98h 16m
English
range.Characters([Start], [Length])
Returns a Characters object representing all the characters in a text cell or a specified string within the text.
|
Argument |
Settings |
|---|---|
|
|
The position of the first character in the string. The default is the first character. |
|
|
The number of characters in the string. The default is the remaining characters in the cell. |
The following code changes the font to bold type for the first six characters in cell A9. For example, if the first word in the cell is “urgent,” the following code displays only that word in bold type:
ActiveSheet.Range("A9").Characters(1, 6).Font.Bold = TrueRead now
Unlock full access