Muokkaa

Jaa


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

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