Hi,
I want to mark all the marlett checkboxes on the sheet. The macro will be linked to a button. The code allowing marlett checkboxing is the same as always:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A3:A102")) Is Nothing Then
Target.Font.Name = "Marlett"
If Target = vbNullString Then
Target = "a"
Else
Target = vbNullString
End If
End If
End Sub
Now, how do I write a code that marks all the checkboxes in this area, A3:A102? And also, how to make it unmark all the checkboxes by pressing another button...
Help?
I want to mark all the marlett checkboxes on the sheet. The macro will be linked to a button. The code allowing marlett checkboxing is the same as always:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A3:A102")) Is Nothing Then
Target.Font.Name = "Marlett"
If Target = vbNullString Then
Target = "a"
Else
Target = vbNullString
End If
End If
End Sub
Now, how do I write a code that marks all the checkboxes in this area, A3:A102? And also, how to make it unmark all the checkboxes by pressing another button...
Help?
