Application.DetailsPaneToggle method (Project)
Shows or hides the task or resource Details pane for the selected item.
Syntax
expression. DetailsPaneToggle
( _Timeline_
)
expression An expression that returns an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Timeline | Optional | Variant | If the value is True or 1, the method shows or hides the project Timeline pane. The default value is False. |
Return value
Boolean
Remarks
If more than one task or resource is selected, the Details pane shows the first item. If an empty item is selected, the project displays the Details pane with no data.
Example
If the current view is a Calendar view where one task is selected, the following example first shows the Details pane for that task, and then hides the Details pane and shows the Timeline pane.
DetailsPaneToggleDetailsPaneToggle Timeline:=True
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.