共用方式為


Application.FileNew Method (Project)

Creates a new project.

Syntax

expression .FileNew(SummaryInfo, Template, FileNewDialog, FileNewWorkpane)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

SummaryInfo

Optional

Boolean

True if the Project Information dialog box is displayed when creating the project. The default is equal to the corresponding setting on the General tab of the Options dialog box.

Template

Optional

String

A path and file name for a template to use when creating the project. If Template is omitted, a blank project is created

FileNewDialog

Optional

Boolean

True if the Templates dialog box is displayed when creating the project. If Template is specified, FileNewDialog is ignored

FileNewWorkpane

Optional

Boolean

True if Project displays the New Project workpane before creating a new file. The default value is False.

Return Value

Boolean