Tutorial - How To Link Checkboxes To Multiple Cells In Excel
*To Add Checkboxs Under Multiple Range Click Here*
If there are thousands checkboxes need to be linked to other cells, you can apply the following VBA code, and to apply code follow the below step.
1. Go to your worksheet and create checkboxes.
2. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window or you can click on Developer tab ➡ Visual Basic.
3. Click Insert > Module
4. Double click on module1 and paste the below code in the Module Window (make sure module window is clear)
4. And then press F5 key to run this code,now all the checkboxes in the active worksheet have been linked to the cells, when you check the checkbox, its relative cell will display TRUE, if you clear a check box, the linked cell should show FALSE.
Note: In the above code, i = 2, the number 2 is the starting row of your checkbox, and the letter B is the column location where you need link the checkboxes to. You can change them to your need.
To Learn How To Add Multiple Checkbox Check Below Video:
Dear sirs, if someone wants and a second collumn of checkboxes , could you please add that to the above macro ? thank you for your time to free us from hours of needless work!!
ReplyDeleteHere you go please check latesh upload
ReplyDeletehttps://excelmindd.blogspot.com/2024/02/tutorial-how-to-link-multiple.html