View.Type property (Project)
Gets the type of item in the view, such as tasks or resources. Read-only PjItemType.
Syntax
expression.Type
expression A variable that represents a View object.
Remarks
The Type property for a view can be one of the following PjItemType constants: pjOtherItem, pjResourceItem, or pjTaskItem.
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.