Hi all,
I have a load of checkboxes where once ticked (or unticked) put a "X" into a cell.
Instead of:
So on a so forth,
Is there a simpler way to loop through all the checkboxes and, and once one is ticked, it will put the "X" in the relevant cell.
I have a load of checkboxes where once ticked (or unticked) put a "X" into a cell.
Instead of:
Code:
If Me.chkTempWarm.Value = True Then
wsMain.Range("H25").Value = "X"
ElseIf Me.chkTempWarm.Value = False Then
wsMain.Range("H25").Value = ""
End If
If Me.chkTempMild.Value = True Then
wsMain.Range("K25").Value = "X"
ElseIf Me.chkTempMild.Value = False Then
wsMain.Range("K25").Value = ""
End If
So on a so forth,
Is there a simpler way to loop through all the checkboxes and, and once one is ticked, it will put the "X" in the relevant cell.