Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming,microsoft.public.office.developer.vba
|
|||
|
|||
![]()
It says "Unable to get OLEObject property of Worksheet class".
"Keith Willshaw" wrote in message ... "Mike Tomasura" wrote in message ... create a command button go into design mode double click on the command button paste this code: Private Sub CommandButton1_Click() If CheckBox1.Value = True Then CheckBox1.Value = False Else CheckBox1.Value = True End If End Sub I dont think thats what he was asking though From a VBA procedure you can get the value as follows Dim MyFlag As Boolean If ActiveSheet.OLEObjects("CheckBox1").Object.Value = True Then MyFlag = True End If MsgBox MyFlag Keith |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
checkbox in a protected worksheet | Excel Worksheet Functions | |||
Checkbox to open another worksheet | Excel Discussion (Misc queries) | |||
checkbox and worksheet | Excel Discussion (Misc queries) | |||
error accessing a protected worksheet | Excel Worksheet Functions | |||
Accessing Cells in Separate Worksheet | Excel Discussion (Misc queries) |