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
 

Some videos you may like

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Tuelor

Board Regular
Joined
Mar 19, 2011
Messages
101
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
 

VBAmalta89

Board Regular
Joined
Mar 25, 2011
Messages
116
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!
 

Watch MrExcel Video

Forum statistics

Threads
1,108,923
Messages
5,525,653
Members
409,658
Latest member
Yardcell

This Week's Hot Topics

Top