Font.NameAscii property (PowerPoint)

Returns or sets the font used for ASCII characters (characters with character set numbers within the range of 0 to 127). Read/write.

Syntax

expression. NameAscii

expression A variable that represents a Font object.

Return value

String

Remarks

The default value of this property is Times New Roman. Use the Replace method to change the font that's applied to all text and that appears in the Font box on the Font tab.

Example

This example sets the font used for ASCII characters in the title of the first slide to Century.

Application.ActivePresentation.Slides(1).Shapes.Title _
    .TextFrame.TextRange.Font.NameAscii = "Century"

See also

Font Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.