Application.TaskComparison method (Project)

In a project comparison report, shows the Gantt Chart view in all three project plans, to compare tasks.

Syntax

expression. TaskComparison

expression An expression that returns an Application object.

Return value

Boolean

Remarks

Use the CompareProjectVersions method to create a project comparison report, or choose Compare Projects on the PROJECT ribbon.

After you run a Compare Projects command, Project displays the COMPARE PROJECTS ribbon. The TaskComparison method is equivalent to the Task Comparison command on the COMPARE PROJECTS ribbon.

To compare resources in a comparison report, use the ResourceComparison method.

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.