ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

Private Sub Worksheet_Change(ByVal Target As Range)«ç»ò¥Î??

Private Sub Worksheet_Change(ByVal Target As Range)«ç»ò¥Î??

­è¦bºô¸ô¤W¦³µo²{oobirdª©¥D³o­Ó¦n¥Îµ{¦¡, ¦ý«ç»ò¥Î¤F¨S¦³¤ÏÀ³, ¦³¤H¥i¥HÀ°¦£¬Ý¤@¤U¶Ü? ·P®¦~~~
Private Sub Worksheet_Change(ByVal Target As Range)
x = "J11,K11,L11,M11"
If InStr(x, Target.Address(0, 0)) > 0 Then [D4] = ActiveCell.Value
End Sub
ªì¾ÇªÌcolor

¦^´_ 1# color790

µ{¦¡½X¨S¦³°ÝÃD
¥ý¤F¸Ñ¸Óµ{¦¡¤§¥\¯à ¦A¾Þ§@ÀÉ®×
Book2.rar (5.63 KB)

TOP

¦^´_ 1# color790
¤u§@ªíªº¿é¤J«á Àx¦s®æ·|¨Ì «ü¥O:¤u¨ã->¿ï¶µ->½s¿è ªº¿ï¶µ: «öEnterÁä«á,²¾°Ê¿ï¨úªº½d³ò  
½Ð­×¬°  If InStr(x, Target.Address(0, 0)) > 0 Then [D4] = Target.Value
Target ¬Oµ{¦¡©Ò¶Ç¦^ªºÀx¦s®æ          ActiveCell  ¬O§@¥Î¤¤ªºÀx¦s®æ
If InStr(x, Target.Address(0, 0)) > 0 Then [D4] = ActiveCell.Value
¦¹µ{¦¡½X¦³®Ä ¦p¹Ï  ¦b½s¿è¦C ¿é¤J«á ¤Ä¿ï  Àx¦s®æ·|°±¯d¦b¦¹Àx¦s®æ  


TOP

¥»©«³Ì«á¥Ñ color790 ©ó 2012-1-19 09:59 ½s¿è

ÁÂÁ¤j®a¦^µª, ¦ý....¥D­n¬O¬°¤F¤è«K, ©Ò¥H³o´X­ÓÀx¦s®æ³£¤w¨Æ¥ý¼g¦n¼Æ¦r©Î¤å¦r, [D4]«á­±¦A°µÅܤÆ
¤ñ¦p[d4],[d5]....   [f4][f5].......
ÁÙ¬O»¡¦³....."¦b½s¿è¦C ¿é¤J«á ¤Ä¿ï" ªº¥¨¶°, ¥Î¿ýªº¦n¹³³£¬Ý¤£¥X¨Ó

ÁÙ¬Oª½±µ°µbutton.....
ªì¾ÇªÌcolor

TOP

­ì¨Ó§Ú»Ý­nªº¬O
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
sorry,  ÁÂÁ¤j®aªº¦^µª
ªì¾ÇªÌcolor

TOP

        ÀR«ä¦Û¦b : ±o²z­nÄǤH¡A²zª½­n®ð©M¡C
ªð¦^¦Cªí ¤W¤@¥DÃD