Pre-assigning a macro to a macro created checkbox

DMJHohl

New Member
Joined
Jun 7, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
The situation:
I have a system set up to create a simple check-box flow down chart. If a higher box is uncheck then the below will turn red and lock out. I created a simple macro to add new check box in a selected level of the flow down chart. However, I still need to go it to the check-box and paste in the function to link it in to the flow down chart.

My question:
Is there a way to add a macro to the "CheckBoxName_Change()" on creation or do I have to do that manually still?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Welcome to the forum.
Can you show us a minimal working example of the code you have for creating the checkbox ?
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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