SarahTheBookDragon
New Member
- Joined
- Mar 19, 2024
- Messages
- 2
- Office Version
- 365
Howdy!
I have an excel sheet that has a table spanning from Columns A-L.
I have a row of checkboxes in Column M
The checkboxes have conditional formatting that grays/strikes out the corresponding row that it is associated with
However- I want to update this so that it clears the row entirely.
Please note: I only want the row to be clear. I do not want the row to be deleted (my hope is to continue to use the same worksheet without having to re-add the checkboxes) .
I found a VBA code here that I have used with some success:
Public Sub CheckBox()
If Range("M18") = True Then
Range("A18:L18").ClearContents
End If
However- I want to apply this to all the checkboxes in Column M.
I have an excel sheet that has a table spanning from Columns A-L.
I have a row of checkboxes in Column M
The checkboxes have conditional formatting that grays/strikes out the corresponding row that it is associated with
However- I want to update this so that it clears the row entirely.
Please note: I only want the row to be clear. I do not want the row to be deleted (my hope is to continue to use the same worksheet without having to re-add the checkboxes) .
I found a VBA code here that I have used with some success:
Public Sub CheckBox()
If Range("M18") = True Then
Range("A18:L18").ClearContents
End If
However- I want to apply this to all the checkboxes in Column M.