Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
'------------------------------------------------------
'- WORKSHEET CHEKBOX ALTERNATIVE
'- ADDS OR REMOVES TICK IN A CELL. Font = Wingdings.
'- This example uses columns A and E.
'- Brian Baulsom October 2000
'------------------------------------------------------
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Excel.Range, _
Cancel As Boolean)
Dim MyTick As String
MyTick = Chr(252)
TopRow = 10
BottomRow = 38
'-
If (ActiveCell.Column = 2 Or ActiveCell.Column = 5) _
And ActiveCell.Row >= TopRow _
And ActiveCell.Row <= BottomRow Then
If ActiveCell = "" And ActiveCell.Offset(0, 1).Value <> "" Then
ActiveCell.Value = MyTick
Else
ActiveCell.Value = ""
End If
ActiveCell.Offset(1, 0).Select
Else
MsgBox ("Cannot tick here.")
End If
End Sub
'-------------------------------------------------------------------------