Application.Form method (Project)
Displays a custom form. The Form method produces an error if a resource form is specified when the active view is a task view, and vice versa.
expression A variable that represents an Application object.
|Name||Optional||String||The name of a custom form. The default is a task form when the active view is a task view, and a resource form when the active view is a resource view.|
The following example displays the Cost Tracking form.
Sub DisplayCostTrackingForm Form("Cost Tracking") End Sub
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.