VBA code for adding and deleting check boxes on value

Arthras77

New Member
Joined
Aug 28, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi

I don't really know how to code the VBA to insert the checkbox on value.

By selecting text from the list appropriate check boxes will be inserted or deleted to create a specific set. It would be perfect if it would work on the whole sheet.

I would really appreciate your help
 

Attachments

  • Problem.png
    Problem.png
    20.7 KB · Views: 6

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi

I don't really know how to code the VBA to insert the checkbox on value.

By selecting text from the list appropriate check boxes will be inserted or deleted to create a specific set. It would be perfect if it would work on the whole sheet.

I would really appreciate your help
My personal opinion is that having a lot of checkboxes on your sheet is not a good ideal.

1. What do you expect to happen when you click on the checkbox?
2. It would be much easier to use a double click script.
Double click the cell and something will happen.
If this would work for you give me the ranges where you want to double, click and what do you want to happen when you double click the cell. And this would be a Vba solution.
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,038
Members
449,092
Latest member
ikke

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
Back
Top