Application.ViewReset method (Project)

Resets the current view back to the global view definition.

Syntax

expression. ViewReset

expression An expression that returns an Application object.

Return value

Boolean

Remarks

The ViewReset method displays a dialog box that asks if you are sure you want to continue. Custom formatting, filters, and grouping updates are removed if they are not in the global copy of the view, but the project data is not affected. The ViewReset action cannot be undone.

The ViewReset method has the same effect as the Reset to Default command in the drop-down list of views 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.