I have two macros. One simply clears two separate columns on a spreadsheet. The other clears the marked checkboxes in another column. Is there a way to combine them, so that I can click just one button? Here's the code:
Sub CheckBox416_Click()
Dim ChkBox As Excel.CheckBox
Dim master As Excel.CheckBox
Set master = ActiveSheet.CheckBoxes(Application.Caller)
For Each ChkBox In ActiveSheet.CheckBoxes
If ChkBox.Name <> master.Name And master.Value = xlOn Then
ChkBox.Value = xlOff
End If
Next ChkBox
End Sub
Sub Clear()
'
' Clear Macro
' Clear Player and Special Request Column
'
'
Range("I12:I93").Select
Selection.ClearContents
Range("G12:G93").Select
Selection.ClearContents
Range("G10").Select
End Sub
Bookmarks