InsertSymbol Method
Applies To
TextRange object.
Description
Inserts the symbol in the specified text range. Returns a TextRange object that represents the symbol.
Syntax
expression.InsertSymbol(FontName, CharNumber, UniCode)
expression Required. An expression that returns a TextRange object.
FontName Required String. The font name.
CharNumber Required Long. The Unicode or ASCII character number.
UniCode Optional Long. True to have the CharNumber argument represent a UniCode character. False to have the CharNumber argument represent an ASCII character number. The default value is False.
See Also
InsertAfter method, InsertBefore method, InsertDateTime method, InsertSlideNumber method.
Example
This example inserts the Registered Trademark symbol after the first sentence of the first paragraph in shape two on slide one in the active presentation.
Set sh = Application.ActivePresentation.Slides(1).Shapes(2)
Set sentOne = sh.TextFrame.TextRange.Paragraphs(1).Sentences(1)
sentOne.InsertAfter.InsertSymbol "Symbol", 226