The checkboxes are from the Forms toolbar, and they all reference cells
in column L
Basically this is what I have..
If Sheet1.Cells(12, 7).Value = "TRUE" Then (I've tried of variations
of referencing the cell)
...code...
and just for good measure in the Else portion I've put
Sheet1.Range("E7") = [L7].Value
And of course L7 reads TRUE when I run the macro.
Thanks in advance
Paul Salama
If Sheet1.Cells(12, 7).Value = True Then
--
Dave Peterson
But I created a blank shit and a checkbox and put the following code in
it:
Sub test()
If CheckBox1.Value = "True" Then
MsgBox ("True")
Else
If CheckBox1.Value = "False" Then
MsgBox ("False")
End If
End If
End Sub
It also works if you are referencing a cell's value.
--
Bearacade
------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=35016
View this thread: http://www.excelforum.com/showthread.php?threadid=551920
so this is what worked:
If Sheet1.[L7].Value = "True" Then
...code...
Thanks again.
Paul
--
Dave Peterson
--
Dave Peterson