- ©«¤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
|
¦^´_ 13# e19821223
¬O´Á±æ¦p¦¹¶Ü?- Option Explicit
- Private Sub Worksheet_Change(ByVal Target As Range)
- Dim data As Range, Y As Variant
- Application.EnableEvents = False
- If Not Intersect(Target, [A1:A10]) Is Nothing Then
- ' Set data = ['sheet2'!$A$1:B$25]
- 'Y = Application.VLookup(Target, data, 2, 0)
- Y = Application.VLookup(Target, ['sheet2'!$A$1:B$25], 2, 0)
- Target.Offset(, 1) = IIf(IsError(Y), "", Y)
- End If
- Application.EnableEvents = True
- End Sub
½Æ»s¥N½X |
|