Office Settings & Configuration

How to Keep Excel Checkboxes Anchored When Hiding Rows or Columns in WPS Office

John WilsonJohn Wilson Nov 13, 2026 869 views

Question details

Prevent form checkboxes in a worksheet from moving to other columns or losing their original cell position after rows or columns are hidden and then unhidden.

How to Keep Excel Checkboxes Anchored When Rows or Columns Are Hidden
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user is working with form checkboxes in a worksheet and needs them to stay anchored to their intended cells through hide and unhide actions.
Observed behavior
Checkboxes move to other columns or shift away from their original cells after hidden rows or columns are unhidden.
Before you start

Open the workbook in WPS Office Spreadsheets and enable the Developer tab if you need to insert or modify form controls. If the checkboxes are ActiveX controls, switch to Design Mode before selecting them.

Solution 1Recommended

Set each checkbox to Move and size with cells in Format Control Properties

Use this when checkboxes need to follow the cell position when rows or columns are hidden and later unhidden.

In WPS Spreadsheets, form controls have object positioning properties that determine whether a control moves or resizes with the cells beneath it. Choosing the correct property stops the checkbox from drifting across columns after unhiding.

1
Right-click the checkbox

In WPS Spreadsheets, right-click the form checkbox and choose Format Object or Format Control from the context menu.

2
Open the Properties tab

In the Format Control dialog, click the Properties tab.

3
Select the anchoring behavior

Choose Move and size with cells if the checkbox should remain inside the cell, or Move but don't size with cells if only its position should track the cell. Click OK.

4
Position the checkbox over the intended cell

Drag the checkbox so its top-left corner sits inside the cell you want it to stay with. Avoid stretching it across hidden ranges.

Set each checkbox to Move and size with cells in Format Control Properties
Checkbox stays anchored: After this setting, hiding and unhiding the underlying rows or columns moves the checkbox with the cell instead of leaving it in another column.
WPS Spreadsheets support

Keep Form Checkboxes Anchored in WPS Office Spreadsheets

Use WPS Office Spreadsheets to set form control properties so checkboxes remain anchored to their cells when you hide or unhide rows and columns. It is fully compatible with Excel workbooks and gives you the same control positioning options without changing your file format.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office, click Menu > Open, and select the Excel workbook that contains the checkboxes.
  2. 2. Right-click the checkbox: Right-click the form checkbox and choose Format Object or Format Control from the shortcut menu.
  3. 3. Open the Properties tab: In the dialog, go to Properties and select Move and size with cells or Move but don't size with cells.
  4. 4. Position and test: Place the checkbox over the intended cell, click OK, then hide and unhide the row or column to verify it stays anchored.
Prevents checkboxes from drifting when rows and columns are hidden or unhiddenOpens and saves Excel .xlsx workbooks without conversion issuesFree, lightweight Office suite with a familiar ribbon and Developer toolsNo VBA required for standard form-control anchoring
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel checkbox move when I unhide rows in WPS Office?

The control is likely set to Don't move or size with cells, or it was placed across a hidden range. Right-click the checkbox, open Format Object or Format Control, go to Properties, and choose Move and size with cells or Move but don't size with cells.

Where is Format Control in WPS Spreadsheets?

Right-click the checkbox and select Format Object or Format Control. If you need to insert or manage form controls, first enable the Developer tab from WPS Office options.

Can I stop checkboxes from resizing when row height changes?

Yes. In the Properties tab of Format Control, choose Move but don't size with cells. This keeps the checkbox position tied to the cell without changing its size.

Does this work for ActiveX checkboxes in WPS Office?

ActiveX controls may require Design Mode to be enabled before you can access their properties. For simpler anchoring, use form-control checkboxes and set the positioning property under Properties.

Will WPS Office preserve my checkbox settings when I save as an Excel file?

Yes. Standard form control positioning settings are saved in the workbook and remain available when the file is opened in WPS Office or Microsoft Excel.