- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 7# jesscc
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Row < 7 Then Exit Sub '§Ú¦h¥[³o¦æ
If Target.Column <> 5 Then Exit Sub
If Target.Count > 1 Then Exit Sub
Application.EnableEvents = False '§ï©ñ³o¸Ì
If Sheets("DATA").[b:b].Find(Target, , , 1) Is Nothing Then
' §R±¼ Application.EnableEvents = False '°±¤îª«¥ó¯àIJµo¨Æ¥ó
Target.Offset(, -3) = "?"
Target.Offset(, -3).Font.ColorIndex = 3
Else
Target.Offset(, -3) = ""
Target.Offset(, -3).Font.ColorIndex = 0
' §R±¼ Application.EnableEvents = True '«ì´_ª«¥ó¯àIJµo¨Æ¥ó
End If
Application.EnableEvents = True '§ï©ñ³o¸Ì
End Sub |
|