Partager via


Application.NewPresentation Property (PowerPoint)

Returns a NewFile object that represents a presentation listed on the New Presentation task pane. Read-only.

Syntax

expression .NewPresentation

expression A variable that represents an Application object.

Return Value

NewFile

Example

This example lists a presentation on the New Presentation task pane at the bottom of the last section in the pane.

Sub CreateNewPresentationListItem()

    Application.NewPresentation.Add FileName:="C:\Presentation.ppt"

    Application.CommandBars("Task Pane").Visible = True

End Sub

See Also

Concepts

Application Object Members

Application Object