Application.GoToItemInVersions method (Project)

For the selected item in a project version comparison report, highlights that item in each version.


expression. GoToItemInVersions

expression An expression that returns an Application object.

Return value



When you compare two versions of a project file, Project creates a new project named Comparison Report and shows each of the original versions below the Comparison Report window. If an item is selected in the Comparison Report window, GoToItemInVersions selects the same item in each of the original versions. Focus changes to the second version window.

The GoToItemInVersions method is equivalent to the Go to Item command in the Compare group of the Compare Projects tab on the Ribbon.

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.