Hi,
vietm supplied this code that I added for "Status" columns. It isn't only allowing one checkbox true in the other columns. What am I doing wrong?
>>> use code - tags <<<
vietm supplied this code that I added for "Status" columns. It isn't only allowing one checkbox true in the other columns. What am I doing wrong?
>>> use code - tags <<<
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With Target
ay = .Row
ax = .Column
End With
With ActiveSheet
If ay > 7 And .Cells(ay, 10) <> Empty Then
Select Case ax
Case 7 To 9
.Range("G" & ay & ":I" & ay) = False
.Cells(ay, ax) = True
End Select
End If
End With
With Target
by = .Row
bx = .Column
End With
With ActiveSheet
If by > 11 And .Cells(by, 14) <> Empty Then
Select Case bx
Case 11 To 13
.Range("K" & by & ":M" & by) = False
.Cells(by, bx) = True
End Select
End If
End With
End Sub
Attachments
Last edited by a moderator: