Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Intersect(Target, Range("D4:D10")) Is Nothing Then Exit Sub Select Case Target.Value Case Is = "" Target = "あ" Case Is = "あ" Target = "い" Case Is = "い" Target = "" End Select
If Intersect(Target, Range("B4:B10,C4:C10")) Is Nothing Then Exit Sub frmCal.Show