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

Worksheet_Change »yªk

Worksheet_Change »yªk

Private Sub Worksheet_Change(ByVal Target As Range)
½Ð±Ð¨â­Ó»yªk
1. °²¦p A COLUMN ¦³¥ô¤@Àx¦s®æÅÜ°Ê «h............

2. °²¦p A COLUMN ³Ì«á¤@®æ¦³·s¼W¼Æ¦r.....«h
¨Ò¦p   A9 ­ì¬°³Ì«á¤@®æ¦³¼Æ¦r, ¦bA10¶ñ¤J¼Æ¦r «h........(±ø¥ó¦¨¥ß)
         A10 ­ì¬°³Ì«á¤@®æ¦³¼Æ¦r, ¦bA11¶ñ¤J¼Æ¦r «h........(±ø¥ó¦¨¥ß)
        .............
          ..............
       ¥H¦¹Ãþ±À

¦^´_ 1# t8899
¸Õ¸Õ¬Ý
  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2.    If Target.Column = 1 Then
  3.          .
  4.          .
  5.         .
  6.    End If
  7. End Sub
½Æ»s¥N½X

TOP

Private Sub Worksheet_Change(ByVal Target As Range)
With Target
¡@¡@¡@If .Column <> 1 Or .Count > 1 Then Exit Sub
¡@¡@¡@If .End(xlDown).Row = Rows.Count Then MsgBox "³o¬O³Ì«á¤@µ§"
End With
End Sub

TOP

Private Sub Worksheet_Change(ByVal Target As Range)
With Target
¡@¡@¡@If .Column  1 Or .Count > 1  ...
­ã´£³¡ªL µoªí©ó 2015-12-2 10:39


½Ð±Ð target.count  ¸ò row.count ¦³¦ó¤£¦P???

TOP

¦^´_ 4# t8899


Target.Count ¬°§@¥Î°ÏÀx¦s®æªº­Ó¼Æ, ¨Ò¦p:¥HF1:H3½Æ»s¦ÜA1:C3, ¨äÀx¦s®æ¼Æ¬°9­Ó,
Rows.Count ¬°¤u§@ªíÁ`¦C¼Æ, End(xlDown), ­Y°_©l®æ¥H¤U¬Ò¬°ªÅ¥Õ, ´Nª½±µ¸õ¦Ü¤u§@ªí³Ì©³¤U¤@¦C!

TOP

¨ü¯q¨}¦h
¥¿¼Wªøª¾ÃÑ
ÆZ²`ªº¾Ç°Ý

TOP

¥»©«³Ì«á¥Ñ mdr0465 ©ó 2015-12-9 18:02 ½s¿è

If .Column <> 1 Or .Count > 1 Then Exit Sub
If .End(xlDown).Row = Rows.Count Then MsgBox

§Ú·Q°Ý ".column<>1......." .column ".End(xlDown)..... "ªG¤@ÂI"«Y¥i¥H¦b¤°»ò®É­Ô¥i¥H«Y«e­±¨S¦³µù©ú¤°»òª«¥ó¦Ó¥u¬O¥Î"."column ??

½Ð½ç±Ð

TOP

¦^´_ 7# mdr0465


With Target
¡@¡@¡@.??
¡@¡@¡@.??
End With

With ~ End With ¤¤¶¡¤£±a[ª«¥ó]ªº".", ³£ºâ Target ªº±b~~

TOP

©ú¥Õ,¨ü±Ð¤F..
ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¨C¤ÑµL©Ò¨Æ¨Æ¡A¬O¤H¥Íªº®ø¶OªÌ¡A¿n·¥¡B¦³¥Î¤~¬O¤H¥Íªº³Ð³yªÌ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD