Office Settings & Configuration

Make Excel Shapes Move Correctly When Rows Are Deleted

Amos GikundaAmos Gikunda Dec 2, 2026 869 views

Question details

The user wants lines and other Excel shapes to behave predictably when rows above them are deleted.

Make Excel Shapes Move Correctly When Rows Are Deleted
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains shapes whose positions should either follow cells or remain fixed when rows are deleted.
Observed behavior
Shapes may not move as expected because of their placement properties, and hidden rows can make the behavior appear inconsistent.
Before you start

Decide whether each shape should move and resize with cells, move without resizing, or stay fixed. Check for hidden rows near the shapes before testing a row deletion.

Solution 1Recommended

Set the Excel Shape Placement Property

Use the shape's properties to choose how it responds when worksheet rows change.

1
Select the shape

Right-click the line or other shape in the worksheet and select Format Shape.

2
Open placement properties

In the Format Shape pane, select Size & Properties, then expand Properties.

3
Choose the desired behavior

Select Move and size with cells to let the shape move and resize with its cells, Move but do not size with cells to keep its size while it moves, or Do not move or size with cells to keep it fixed.

4
Test the setting

Delete a row above the shape and check its position. If the result is not what you need, use Undo and try another placement option.

Set the Excel Shape Placement Property
Check each shape: Placement is a shape property, so other lines or shapes may need their own settings changed.
Free Microsoft Office alternative

Work With Excel Spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files in WPS Spreadsheet to make it easier to move your everyday spreadsheet work to WPS.

Open and edit compatible Microsoft Excel XLSX and XLS filesWork with spreadsheet shapes and worksheet content in one applicationUse a familiar interface for a smoother transition from Microsoft OfficeAccess a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Which setting keeps a shape the same size when rows are deleted?

Right-click the shape, select Format Shape > Size & Properties > Properties, and choose Move but do not size with cells.

How can I stop an Excel shape from moving with cells?

In Format Shape > Size & Properties > Properties, select Do not move or size with cells.

Can hidden rows affect how shape movement appears?

Yes. Select the row headers around the hidden rows, then use Home > Format > Hide & Unhide > Unhide Rows to inspect the worksheet before testing the shape.

Do I need to change the setting for every shape?

Placement is a property of each shape. Check the Properties section in Format Shape for each line or shape that needs a different behavior.