How to Fix Copied Checkboxes Keeping the Same Linked Cell in Excel
Question details
The user needs copied form checkboxes to automatically link to their respective individual destination cells instead of all pointing to the original checkbox's linked cell.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating a form or checklist that requires copying a checkbox approximately 60 times, where each checkbox must update a different corresponding cell to indicate evaluation status.
- Observed behavior
- When copying and pasting a checkbox, every duplicated checkbox retains the absolute cell reference of the original linked cell, requiring tedious manual editing for each instance.
Before running any VBA macros to automate the checkboxes, ensure you save a copy of your workbook to test the script without risking your current formatting or data.
Use a VBA Macro to Auto-Link Checkboxes to Separate Cells
Since copying form controls does not automatically increment the linked-cell reference, using a VBA script is the fastest and most reliable way to generate multiple uniquely linked checkboxes at once.
This macro creates a new checkbox precisely sized and positioned over each cell in your current selection, and then assigns its LinkedCell property to that specific cell's address.
Press ALT + F11 on your keyboard to open the Microsoft Visual Basic for Applications window.
In the top menu, click 'Insert' and select 'Module' to create a blank script window.
Copy and paste the following code: Sub Test() Dim R As Range Dim CB As CheckBox For Each R In Selection Set CB = ActiveSheet.CheckBoxes.Add(R.Left, R.Top, R.Width, R.Height) CB.LinkedCell = R.Address Next R End Sub
Close the VBA editor and return to your worksheet. Highlight the range of cells where you want the new checkboxes to appear. Press ALT + F8, select the 'Test' macro, and click 'Run'.

Manually Edit the Linked Cell for Each Checkbox
If you only need to fix a small number of checkboxes and prefer not to use macros, you can manually adjust the linked cell reference for each one.
Easily Manage Checkboxes and Macros in WPS Spreadsheet
WPS Spreadsheet fully supports form controls and VBA macros, allowing you to seamlessly automate repetitive tasks like linking multiple checkboxes to separate cells. It offers a familiar interface for managing your daily worksheet operations efficiently.
- 1. Open Your Workbook: Launch WPS Spreadsheet and open your existing file containing the form or checklist.
- 2. Access the Developer Tools: Navigate to the 'Developer' tab on the ribbon and click on 'Macros' or 'Visual Basic' to access the built-in VBA Editor.
- 3. Run the Automation Script: Paste your checkbox linking script, highlight your target cells in the worksheet, and execute the macro to automate the linked cell assignments instantly.

Frequently Asked Questions
Why do copied checkboxes in Excel link to the same cell?
When you copy and paste a Form Control checkbox in Excel, it duplicates the exact properties of the original object, including the absolute reference to its linked cell. Excel does not automatically increment this reference relative to the new row or column.
Can I use the fill handle (drag down) to increment checkbox linked cells?
No, dragging the fill handle to copy checkboxes will still result in all newly created checkboxes being linked to the identical original cell. You must either use a VBA macro to assign them programmatically or edit the 'Format Control' properties manually.
How do I remove all the improperly linked checkboxes at once?
Press F5 on your keyboard to open the 'Go To' dialog box, click 'Special', select 'Objects', and click OK. This action selects all checkboxes and graphic objects on the sheet, allowing you to simply press the Delete key to remove them before running a corrected macro.




