Based on my description above, here is what I have tried....the proble
is that when you click on the target cell once, it instantly cycle
through all the numbers without stopping....thus I need to arrest th
cycle after one click....any help would be great.
[In cells B1:B12 I entered the months of the year]
_____________________________________
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("B1:B12")) Is Nothing Then
If Target.Offset(0, 1) = "" Then
Target.Offset(0, 1).Value = 1
Target.Offset(0, -1).Select
If Target.Offset(0, 1) = 1 Then
Target.Offset(0, 1).Value = 2
Target.Offset(0, -1).Select
If Target.Offset(0, 1) = 2 Then
Target.Offset(0, 1).Value = 3
Target.Offset(0, -1).Select
If Target.Offset(0, 1) = 3 Then
Target.Offset(0, 1).Value = 4
Target.Offset(0, -1).Select
If Target.Offset(0, 1) = 4 Then
Target.Offset(0, 1).Value = ""
Target.Offset(0, -1).Select
End If
End If
End If
End If
End If
End If
End Su
--
Message posted from
http://www.ExcelForum.com