Excel Checkbox - How do i duplicate entire row when checkbox is ticked?

ozc1han

New Member
Joined
Jun 11, 2020
Messages
19
Office Version
  1. 2016
Platform
  1. Windows
Hi all,

I've always found my answers to excel questions on mrexcel, however, at the moment I'm struggling! I'm not that experienced with Excel.

I have made a checklist with Check Boxes (Form Control), which is linked to the column beside it. When checked, TRUE appears in the column beside the checkbox and the checkbox highlights the row so it is clearly selected.

When checked I need the row to be duplicated (into another sheet [sheet 2]). When unchecked from sheet 2, I need to row be removed. Sheet 2 is basically going to be where I'd like all checked items from different sheets to appear.
If the row can't be duplicated, I would like it to be moved (into another sheet [sheet 2]).

Any help will be highly appreciated!

Thank you :)
 

Attachments

  • Capture.JPG
    Capture.JPG
    185.6 KB · Views: 9

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Logit

Well-known Member
Joined
Aug 31, 2016
Messages
3,996
Posting your workbook for review will greatly assist in providing an answer.
 

Logit

Well-known Member
Joined
Aug 31, 2016
Messages
3,996

ADVERTISEMENT

Was your workbook created on Google Sheets rather than in Excel ?

Nothing I am doing works on your workbook.
 

ozc1han

New Member
Joined
Jun 11, 2020
Messages
19
Office Version
  1. 2016
Platform
  1. Windows
No, it was created in Excel. I dont know how to upload the workbook onto this site, so I shared the link from my google drive.
Hope that helps!
 

ozc1han

New Member
Joined
Jun 11, 2020
Messages
19
Office Version
  1. 2016
Platform
  1. Windows

ADVERTISEMENT

Here's another link to the excel file. I've uploaded it onto box.com
 

Logit

Well-known Member
Joined
Aug 31, 2016
Messages
3,996
.
Here are two versions of just the two sheets in your workbook. You can use the code from either workbook in your project.

Version #1

Version #2

Note: The code includes the use of a CHECK MARK in the cells located in Column D. The "Checkboxes" were removed due to difficulties getting your original
workbook to accept VBA code that functioned as desired.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,334
Messages
5,635,681
Members
416,872
Latest member
Ntsokolo Memani

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top