Share via


ActiveProject Property

Home Page (Objects)OverviewFAQReference

Applies to: Application object

Gets or sets the active project in the workspace.

Syntax

object**.ActiveProject** [=Project]

Parameters

object

An expression that evaluates to an Application object. When you access the ActiveProject 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.

Project

An expression that evalutates to a Project object.

Remarks

The ActiveProject property has the Project type.

Example

The following example sets the active project in a workspace:

set ActiveProject  = Projects("someproject")