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

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I got it the macro to work except the tick mark. Looks odd without the tickmark.
 
Upvote 0

Forum statistics

Threads
1,214,967
Messages
6,122,503
Members
449,090
Latest member
RandomExceller01

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