Excel VBA Check off an activecheckbox within a cell

shyy

Well-known Member
Joined
Nov 6, 2008
Messages
1,484
Hi guys,

I have a checkbox within a cell and how my macro works is that I select the cell containing the box of the checkbox. When I click the checkbox the macro executes. Question is how would I do this entirely in VBA? The checkbox is always in Column A of the activerow.

I am working on a Capital Call to General Ledger macro and need it so in the GL tab after all information is pulled from the capital call tab, the first column of the active row becomes selected and then the checkbox is ticked. There are no predefined names for these checkboxes as they auto create after each time I click the boxes.

The way I am doing right now and it seems to have a different effect is that I am selecting the correct cell however using the call command to run the macro. This runs the macro but doesn't show the tick mark and work the way had I just pulled info and manually click the box. Its an odd behavior but I am sure my scripting isn't all logical lol.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

shyy

Well-known Member
Joined
Nov 6, 2008
Messages
1,484
I got it the macro to work except the tick mark. Looks odd without the tickmark.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,827
Messages
5,855,880
Members
431,772
Latest member
dannyboi1

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