Darn....the code comments got reversed.
Chr(168) is the empty box
Chr(254) is the checked box.
Since I was editing the code, anyway,
I also tweaked it a bit:
Private Sub Worksheet_BeforeDoubleClick( _
ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Range("rngChkBxs")) Is Nothing Then
With Target
Select Case Asc(CStr(.Value) & " ")
Case Is = 254:
'Is a Checked Box, enter an Empty Box
.Value = Chr(168)
Case Else:
'Is anything else, enter an Checked Box
.Value = Chr(254)
End Select
End With
End If
End Sub
Regards,
Ron
Microsoft MVP (Excel)
(XL2003, Win XP)