Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
64 lines (36 loc) · 1.56 KB

application-highlightdrivensuccessors-method-project.md

File metadata and controls

64 lines (36 loc) · 1.56 KB
title keywords f1_keywords ms.prod ms.assetid ms.date
Application.HighlightDrivenSuccessors Method (Project)
vbapj.chm150
vbapj.chm150
project-server
2c93505b-541f-15a7-31ff-fcddcfa0bb55
06/08/2017

Application.HighlightDrivenSuccessors Method (Project)

Sets or clears task driven successor highlighting for the task path feature.

Syntax

expression. HighlightDrivenSuccessors (Set)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
Set Optional Variant True to set task driven successor highlighting; False to clear the task driven successor highlighting.
Set Optional VARIANT
Name Required/Optional Data type Description

Return value

Boolean

Remarks

The HighlightDrivenSuccessors method corresponds to the Driven Successors item in the Task Path drop-down list, on the FORMAT tab, under GANTT CHART TOOLS on the ribbon.

Example

Create a project where task 4 is a driven successor of task 3, and then run the following statements in the Immediate window of the VBE. The PathDrivenSuccessor statement prints True.

Application.SelectRow Row:=3, RowRelative:=False 
Application.HighlightDrivenSuccessors True
? ActiveProject.Tasks(4).PathDrivenSuccessor

See also

Concepts

Application Object

Other resources

Task.PathDrivenSuccessor Property