Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets or clears task successor highlighting for the task path feature.
Syntax
expression. HighlightSuccessors (Set)
expression A variable that represents an Application object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Set | Optional | Variant | True to set task successor highlighting; False to clear task successor highlighting. |
| Set | Optional | Variant | |
| Name | Required/Optional | Data type | Description |
Return value
Boolean
Remarks
The HighlightSuccessors method corresponds to the 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 successor of task 3, and then run the following statements in the Immediate window of the VBE. The PathSuccessor statement prints True.
Application.SelectRow Row:=3, RowRelative:=False
Application.HighlightSuccessors True
? ActiveProject.Tasks(4).PathSuccessor
See also
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.