ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   form check box (https://www.excelbanter.com/excel-worksheet-functions/126276-form-check-box.html)

sako 338

form check box
 
how do i reference a forms check box in a formula (whether it is checked or
not)

thanks


Mike

form check box
 
In vba use

Sub CheckBox1_Click()

If checkbox3 = "False" Then

MsgBox "Unchecked "
Else
MsgBox "Checked "
End If
End Sub

if you want to detect its state in a worksheet formula then format the
control with a linked cell. If you do this the cell will display True for
checked ir false for unchecked which you can reference with your formula.

"sako 338" wrote:

how do i reference a forms check box in a formula (whether it is checked or
not)

thanks



All times are GMT +1. The time now is 11:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com