Run macro when check box ticked.

JazzSP8

Well-known Member
Joined
Sep 30, 2005
Messages
1,227
Office Version
  1. 2013
  2. 2010
Platform
  1. Windows
Hi All

I've been trying to excute a macro when I tick a Check Box but can't seem to get it to work.

I've been trying to use the Worksheet_Change method, but with no luck. Having taken myself off to look into it I've realised that its probably not working because I'm not pressing the 'Enter' button and therefore Excel isn't seeing the True/False in the cell attached to the check box as a change.

Is there any way I can have my macro run when I tick the box?

Thanks in advance for any help... :)

Jazz
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Where is the CheckBox from - Control Toolbox or Forms Toolbar? If the former it has a Click event procedure created by right-click View Code. If the latter you can assign it a macro by right clicking it.
 
Upvote 0
D'oh - Can't believe I didn't notice 'Assign Macro' :unsure:

Thanks for the quick reply!

:)
 
Upvote 0

Forum statistics

Threads
1,214,592
Messages
6,120,433
Members
448,961
Latest member
nzskater

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