- ©«¤l
- 552
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 578
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-2-8
- ³Ì«áµn¿ý
- 2024-7-9
|
¥»©«³Ì«á¥Ñ lpk187 ©ó 2015-12-8 17:57 ½s¿è
¦^´_ 1# morris_lth
Worksheet_Change¬OÅܧó¤u§@ªí¤¤ªºÀx¦s®æ®É·|µo¥Í¦¹¨Æ¥ó
¦ÓCells(I, 2) = Application.VLookup(Cells(I, 1), Range("D1:E10"), 2)¦Ó¥¿¬O°µÅܧ󪺰ʧ@¡A·íµM·|¶i¤JµL½u°j°é¤J¤¤
©Ò¥H¥²¶·n¦b³o¦C¤§«e¼gApplication.EnableEvents = False ¨Ó¸T¤î°µÄ²µo°Ê§@
¤§«á¼gApplication.EnableEvents = True ¨Ó«·s±Ò°ÊIJµo°Ê§@
Application.EnableEvents = False
For I = 1 To X
Cells(I, 2) = Application.VLookup(Cells(I, 1), Range("D1:E10"), 2)
Next I
Application.EnableEvents = True |
|