Dim flag As Integer
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo exit_sub
R = Target.Row: C = Target.Column
If Target.Value = 0 And flag <> 1 And R >= 5 And R <= 12 Then
flag = 1
C = C - 1
If C = 4 Then C = 12
Cells(R, C) = ""
flag = 0
End If
exit_sub:
End Sub[/QUOTE]
Dim flag As Integer
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo exit_sub
R = Target.Row: C = Target.Column
If Target.Value = 0 And flag <> 1 And R >= 5 And R <= 12 Then
flag = 1
C = C - 1
If C = 4 Then C = 12
Cells(R, C) = ""
flag = 0
End If
exit_sub:
End Sub