NewPresentation 属性

       

返回表示列于“新建演示文稿”任务窗格中的演示文稿的 NewFile 对象。只读。

expression.NewPresentation

expression  必选。该表达式返回“应用于”列表中的对象之一。

示例

本示例在窗格中最后部分的底部列出“新建演示文稿”任务窗格上的演示文稿。

Sub CreateNewPresentationListItem()
    Application.NewPresentation.Add FileName:="C:\Presentation.ppt"
    Application.CommandBars("Task Pane").Visible = True
End Sub