Share via


Projects Property

Home Page (Objects)OverviewFAQReference

Applies to: Application object

Gets the Projects object.

Syntax

object**.Projects**

Parameters

object

An expression that evaluates to an Application object. When you access the Projects property of the Application object, you can omit object because the name of the Application object is implied when you access its properties and methods.

Remarks

The Projects object is a collection object that represents all projects in the currently-open workspace. Each project in this collection is represented by a Project object.

The Projects property gets nothing if there are no open workspaces.

Example

The following example gets the Projects object:

Dim Proj
Set Proj = Application.Projects