Creating New checkboxes with VBA for each new table row on Data Input

drvosjeca

New Member
Joined
Jan 27, 2023
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello everyone,
Im new here and also new to VB... Im creating some spredsheet for local hospital im working at, so it would make life much easier on some nurses to help them out, but im limited when it comes to advanced stuff of excel.

I have attached simple example of spreadsheet, just to make it easier to understand.

Things we need to focus on: formula in column C and checkboxes in colums J, K and L.

What i would like to achieve is following:

Row 6 is already predefined and waiting visible for first input, but every next row should copy formula from C and checkboxes with their functions acording to new row ONLY WHEN data is inputed into D column of new row.

So to make it more clear... "i input name into D column and serial number is shown in C plus checkboxes J-L waiting to be clicked or not". Checkbox cell should change color based on clicked or not (green/red).

I hope im not asking for to much... i tried quite few examples of code, but nothing hapens... so i gave up... and then i found this place. :)

thank you all in advance for all your help
 

Attachments

  • exc.jpg
    exc.jpg
    70.1 KB · Views: 19

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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