Muokkaa

Jaa


Presentation.Fonts property (PowerPoint)

Returns a Fonts collection that represents all fonts used in the specified presentation. Read-only.

Syntax

expression.Fonts

expression A variable that represents a Presentation object.

Example

This example replaces the Times New Roman font with the Courier font in the active presentation.

Application.ActivePresentation.Fonts _
    .Replace "Times New Roman", "Courier"

See also

Presentation 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.