Expand or Collapse One Project Section in Microsoft Project
Question details
The user wants to expand or collapse tasks under one summary task without changing unrelated project sections.

- Product
- Microsoft Project
- Device & OS
- not provided
- Scenario
- The user works with unrelated project sections and wants to change the visibility of one section at a time.
- Observed behavior
- Outline-level commands affect tasks across the project, while selecting a summary row does not limit those commands to that section.
Open the project and choose View > Gantt Chart so you can see the task names and their summary rows. Identify the summary task whose subtasks you want to show or hide.
Use the Expand or Collapse Icon Beside a Summary Task
Use the individual summary-task control when you want to change one section without applying an outline command across the project.
In View > Gantt Chart, locate the summary task for the section you want to change.
Click the expand or collapse icon immediately beside the summary task name to show or hide its subtasks.
If a visible subtask is itself a summary task, click its own expand or collapse icon to adjust that nested section.
Filter Tasks When Sections Share a Criterion
Use a filter to narrow the visible task list when the tasks you need share a definable property, such as a date range or category.
Track Project Tasks in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar interface for creating and editing task lists in spreadsheets. It supports common Microsoft Office formats for easy migration, but it does not change Microsoft Project outline controls.

Frequently Asked Questions
Why does selecting a summary row not limit the outline command?
Microsoft Project's outline-level commands can operate across the task list rather than only on the selected row. To change one section, click the expand or collapse icon beside its summary task.
How do I collapse a nested section without collapsing its parent?
In Gantt Chart view, leave the parent summary task expanded and click the collapse icon beside the nested summary task.
Can a filter collapse one summary task?
A filter controls which task rows are visible; it does not perform the same action as the summary task's collapse control. Use View > Filter to narrow the list, or click the summary task's icon to collapse its subtasks.
Can VBA automate expansion or collapse?
A custom macro may automate changes when it has a usable criterion or explicit input, such as a selected task. An arbitrary choice is not itself a rule the macro can infer, and the macro must be designed and tested for the intended selection and outline behavior.




