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

[µo°Ý] ¤£¦P¤u§@ªí¦ý¬Û¹ïÀ³ªºÀx¦s®æ­«½Æ

¦^´_ 9# Hsieh


   ©I~¸Õ¤F«Ü¤[  ²×©ó¸Õ¥X¨Ó¤F
­ì¨Ó [©¿²¤ªÅ¥Õ]»Ý­n¨ú®ø¤Ä¿ï ¤£µM°µ¤£¥X¨Ó

§ÚÁÙ¥i¥H°Ý¤@¤U¶Ü
¦]¬°§Ú²{¦b­ì¥»ªºÀx¦s®æ¤w¸g¦³¸ê®ÆÅçÃÒ¤F(¦³¤U©Ô¦¡¿ï³æ)
¦n¹³¤£¯à¦A¥Î¸ê®ÆÅçÃÒ¤F
¦³¤°»ò¤èªkÅý¨â­Ó¦P®É¦s¦b¶Ü?
ÁÂÁÂ~

TOP

¦^´_ 6# j88141
§Aªº·N«ä¬O¤£¬O³o­Ó?


¦pªG¬O, ¥i¸Õ¸Õ¬Ý¡G
  1. '¥¼¨M¸Ñ«e«áªÅ¥Õªº°ÝÃD
  2. '¨Ò¦p: "¥x¥_"¡B" ¥x¥_"¡B"¥x¥_ " ·|µø¬°¤£¦Pªº¦Wµü, ¤£ª¾¦p¦ó¸Ñ¨M
  3. Private Sub Worksheet_Change(ByVal Target As Range)
  4.     '////////////
  5.     Dim myRange As Range, str1 As String
  6.     Set myRange = Worksheets(1).Range("A1:H10")
  7.    
  8.     If Not Intersect(Target, myRange) Is Nothing Then
  9.         Range("I1") = Target
  10.         If Target <> "" Then
  11.             Range("I2") = "=COUNTIF(A1:H10,I1)"
  12.             If Range("I2") >= 4 Then
  13.                 MsgBox Target & "¤w¸g¿é¤J" & Range("I2") & "¦¸¤F¡C", vbExclamation
  14.             End If
  15.         Else
  16.             Range("I1") = ""
  17.             Range("I2") = ""
  18.         End If
  19.     End If
  20.     '///////////////
  21. End Sub

  22. '¥i±N¨â¦æ '////////// ¤§¶¡ªº VBA °Å¤U, ¶K¨ì¤U­±, ®ÄªG¤£¦P, ¸Õ¸Õ¬Ý
  23. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  24. End Sub
½Æ»s¥N½X

TOP

¦^´_ 12# yen956


    ÁÂÁÂÅo~
³o¬O§Ú·Q­nªº
:)

TOP

        ÀR«ä¦Û¦b : «Î¼e¤£¦p¤ß¼e¡C
ªð¦^¦Cªí ¤W¤@¥DÃD