Referencing check boxes from VBA to excel

VBAmalta89

Board Regular
Joined
Mar 25, 2011
Messages
116
I have a user form with a number of check boxes. Now when the user ticks the box in the form it returns a TRUE or FALSE value in the excel worksheet.

Is there a way where I can make it return whats written in the check box rather than simply true or false?

Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
If its links a true or false to a cell, couldn't you just add an IF statement next to it to toggle between the wording?

But to answer your first question, I don't think you can with a form control. You can do it with an ActiveX control, within the comboBox_change event.

D
 
Upvote 0
Thats what im going to do now but i was hoping that there was a way to do it from VBA instead. Im new to this VBA business so im still getting used to it.

Thanks!
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,236
Members
448,555
Latest member
RobertJones1986

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