Projects.Add method (Project)

Adds a Project object to a Projects collection.

Syntax

expression.Add (DisplayProjectInfo, Template, FileNewDialog)

expression A variable that represents a 'Projects' object.

Parameters

Name Required/Optional Data type Description
DisplayProjectInfo Optional Boolean True if the Project Information dialog box appears when a new project is created. The default value is False.
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.

Return value

Project

See also

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