Application.GoalAreaChange method (Project)

Changes Project Guide goal areas by triggering the WindowGoalAreaChange event. Deprecated in Project.

Syntax

expression. GoalAreaChange( _goalArea_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
goalArea Required Integer An integer that corresponds to the new goal area to which you are changing. For example, setting the goalArea argument to 1 will switch to the first goal area in the Project Guide.

Return value

Boolean

Remarks

Note

The Project Guide is disabled by default in Project. Although you can create and display custom Project Guide pages, we recommend that you create a task pane app instead of the Project Guide for new development.

Script in the main.html page looks up and loads the appropriate task list page for the new goal area.

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.