- ©«¤l
- 20
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 30
- ÂI¦W
- 0
- §@·~¨t²Î
- win 7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2012-11-7
- ³Ì«áµn¿ý
- 2014-12-27
|
¦^´_ 19# GBKEE
§c...§Ú¬O¨å«¬ªº±Ëªñ¨D»·...§Ú¤@ª½ÁÙ¦b½×¾Âª¦¤å ³£¨S¬Ý¨ìÃþ¦üªº ì¨Ó¦b¹q¸£»¡©ú¸Ì
ÁÙ¦³ §Ú·Q°Ý¤@¤U Y»¡ ¥Î¬Û¦Pªº»yªk ¦ý ©ñ¦b¤£¦PªºSHEET¸Ì °Ñ³yªº½d³ò¤]¤£¤@¼Ë ¬O§_¥i¦æ©O
¤ñ¤è»¡ 쥻©ñ¦bSHEET1¸Ìªº¬OG¤j©Ò´£¨Ñªº- 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 ¦ý §Ún¦A·Qn¦bSHEET3(D1:D10) °Ñ³ySHEET4 (C1:D25) ´N×¥¿¦¨- Option Explicit
- Private Sub Worksheet_Change(ByVal Target As Range)
- Dim data As Range, Y As Variant
- Application.EnableEvents = False
- If Not Intersect(Target, [D1:D10]) Is Nothing Then
-
- Y = Application.VLookup(Target, ['sheet4'!$C$1:D$25], 2, 0)
- Target.Offset(, 1) = IIf(IsError(Y), "", Y)
- End If
- Application.EnableEvents = True
- End Sub
½Æ»s¥N½X ¦ý §Ú¦b´ú¸Õ®É ¦bSHEET3¨ÃµL°Ê§@(§Ú¬O¦³±N»yªk©ñ¨ìSHEET3¸Ì¤F)
¦ì²¾¼Æ¤]¬Û¦P nªº±ø¥ó¤]¬Û¦P ¥u¬O°Ñ³yªºSHEET¤£¤@¼Ë¦Ó¤w «oµLªk°õ¦æ ¤£ª¾¨ì©³¬O¬°¤°»ò |
|