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

[µo°Ý] ­«ÂЭȴ£¿ô

[µo°Ý] ­«ÂЭȴ£¿ô

½Ð°Ý¦p¦ó¦b¦P¤@­ÓÄæ¦ì¸Ì¡A¿é¤J­«½Æªº¼Æ­È®É´N¥X²{ĵ§i

¦^´_ 1# samwang
=COUNTIF($A:$A,A1)=1
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

ÁÂÁ±zªº¨³³tªº¸ÑÃD°ÝÃD¤w¸Ñ¨M
½Ð°Ý¸Ó¦p¦óµ²®×?

TOP

¦^´_ 1# samwang

³o­Ó¤]¥i¥H
  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2. If Target.count > 1 Then Exit Sub
  3. If Application.WorksheetFunction.CountIf(Range(Cells(2, Target.Column), Cells(Target.Row, Target.Column)), Target) > 1 Then
  4.      Alert = MsgBox(Cells(1, Target.Column) & " Already Exist - Click Yes do delete", vbYesNo)
  5.      If Alert = vbYes Then
  6.      Application.Undo
  7.      Else
  8.      Target.Interior.ColorIndex = 6
  9.      Exit Sub
  10.      End If
  11. End If
  12. End Sub
½Æ»s¥N½X

TOP

¦^´_ 4# genes


  ÁÂÁ¤j¤jªº¥t¸Ñ¡A¯uªº¥i¥H¥B¦n¥Î

TOP

¥»©«³Ì«á¥Ñ p212 ©ó 2013-10-21 08:46 ½s¿è

¬ÛÃö©Ê¥DÃD³sµ² (¡u¸ê®ÆÅçÃÒ¡v¤§³]©w¡u¦Û­q¤½¦¡¡v)¡A¨Ñ¦³¿³½ìªÌ°Ñ¦Ò¡I
http://forum.twbts.com/thread-10603-1-1.html

TOP

        ÀR«ä¦Û¦b : ­n§åµû§O¤H®É¡A¥ý·Q·Q¦Û¤v¬O§_§¹¬üµL¯Ê¡C
ªð¦^¦Cªí ¤W¤@¥DÃD