- ©«¤l
- 248
- ¥DÃD
- 76
- ºëµØ
- 0
- ¿n¤À
- 331
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- kaohsiung
- µù¥U®É¶¡
- 2013-6-10
- ³Ì«áµn¿ý
- 2020-7-3
|
³o¼Ë§ï¡A¥i¥H¥Î¤F¡AÁÂÁÂã¤j¡C
Private Sub Worksheet_Change(ByVal Target As Range)
With Target
If .Count > 1 Or .Row = 1 Then Exit Sub
If .Column = 2 Then
If .Value = "" Then .Cells(1, 0).Resize(1, 6).ClearContents: Exit Sub
.Cells(1, 0) = Format(Date, "emmdd")
.Cells(1, 2).Select
ElseIf .Column = 3 Then
If .Value <> "" Then .Cells(1, 3).Select
ElseIf .Column = 5 Then
If .Value <> "" Then .Cells(1, 2).Select
ElseIf .Column = 6 Then
If .Value <> "" Then Range("B" & .Row + 1).Select
End If
End With
End Sub |
|