- ©«¤l
- 2839
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2895
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-12-27
|
¦^´_ 9# ÅQ®ð¨«¥þ¨
Private Sub Worksheet_Change(ByVal Target As Range)
Dim SCunt&, xF As Range
With Target
If .Row = 1 Or .Count > 1 Then Exit Sub
If .Column = 2 Or .Column = 5 Then 'BÄæ/EÄæ
On Error Resume Next
Me.Shapes("_" & .Address(0, 0)).Delete
On Error GoTo 0
If .Value = "" Then Exit Sub
SCunt = Me.Shapes.Count
Set xF = [¹ï·Ó!B:B].Find(.Value, Lookat:=xlWhole)
If xF Is Nothing Then Exit Sub
xF(1, 2).Copy .Cells(1, 2)
If SCunt = Me.Shapes.Count Then Exit Sub
Me.Shapes(SCunt + 1).Name = "_" & .Address(0, 0)
End If
End With
End Sub
'============================= |
|