Others

Expand or Collapse One Project Section in Microsoft Project

Ayan MasoodAyan Masood Nov 22, 2026 868 views

Question details

The user wants to expand or collapse tasks under one summary task without changing unrelated project sections.

Expand or Collapse One Project Section in Microsoft Project
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.
Before you start

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.

Solution 1Recommended

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.

1
Find the summary task

In View > Gantt Chart, locate the summary task for the section you want to change.

2
Change that section

Click the expand or collapse icon immediately beside the summary task name to show or hide its subtasks.

3
Adjust nested sections

If a visible subtask is itself a summary task, click its own expand or collapse icon to adjust that nested section.

Outline commands have a wider scope: Ribbon outline-level commands can affect tasks throughout the project; selecting a summary row does not necessarily restrict them to that section.
Free Microsoft Office alternative

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.

Organize project task lists in WPS Spreadsheets.Open and edit Microsoft Excel XLSX files.Work in a familiar, easy-to-use interface.Use a free, lightweight office suite.
microsoft office alternative - wps office

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.