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