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

[µo°Ý] ·j´M«ü©wªº¡i¦PÄæ¹ïÀ³­È¡jªºVBA»yªk¡C

[µo°Ý] ·j´M«ü©wªº¡i¦PÄæ¹ïÀ³­È¡jªºVBA»yªk¡C

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2019-9-5 16:45 ½s¿è

ªþ¥ó¡J (¥DÀÉ)·j´M«ü©wªº¦PÄæ¹ïÀ³­ÈªºVBA»yªk.rar (14.33 KB)

»Ý¨D¡J
AR3=
·íAQ3=""®É¡A«hAR3Åã¥Ü""¡F·íAQ3<>""®É¡A«h±NB9:I9=AQ3­Èªº²Ä2¦C¦PÄæ¹ïÀ³­ÈÅã¥Ü¦bAR3¡C
¦pªG¦³2­Ó(§t)¥H¤Wªº¹ïÀ³¼Æ¡A«h¥H","°Ï¹j¡A¦P®É¶ñ¤JAR3

½Ð°Ý¡J"¦p¤W­z"ªºAR3Àx¦s®æ¤§»Ý¨D»yªk¡AÀ³¸Ó¦p¦ó½s¼g?
¸Û½Ð¦U¦ì¤j¤j¤£§[½ç±Ð!ÁÂÁÂ!

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2019-9-5 17:57 ½s¿è

½Ð°Ý¡J"¦p¤W­z"ªºAR3Àx¦s®æ¤§»Ý¨D»yªk¡AÀ³¸Ó¦p¦ó½s¼g?
­×¥¿¬°~
½Ð°Ý¡J"¦p¤W­z¤å¦r±Ô­z"ªºAR3Àx¦s®æ¤§»Ý¨D»yªk¡AÀ³¸Ó¦p¦ó½s¼g?

TOP

½Ð°Ý¡J"¦p¤W­z"ªºAR3Àx¦s®æ¤§»Ý¨D»yªk¡AÀ³¸Ó¦p¦ó½s¼g?
­×¥¿¬°~
½Ð°Ý¡J"¦p¤W­z¤å¦r±Ô­z"ªºAR3Àx¦s®æ¤§»Ý¨D ...
ziv976688 µoªí©ó 2019-9-5 17:54


³Ì¶§¬Kªº¼gªk :
  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2.   Dim sStr$
  3.   Dim vA
  4.   
  5.   sStr = ""
  6.   With Target
  7.     If .Address = "$AQ$3" Then
  8.       For Each vA In .Parent.[B9:I9]
  9.         If vA = [AQ3] Then
  10.           If sStr = "" Then
  11.             sStr = vA.Offset(-7).Text
  12.           Else
  13.             sStr = sStr & "," & vA.Offset(-7).Text
  14.           End If
  15.         End If
  16.       Next
  17.       [AR3] = sStr
  18.     End If
  19.   End With
  20. End Sub
½Æ»s¥N½X
(¥DÀÉ)·j´M«ü©wªº¦PÄæ¹ïÀ³­ÈªºVBA»yªk - ans.zip (14.67 KB)

TOP

¦^´_ 3# luhpro
¤£¦n·N«ä¡A¶]¤£¥X¨Ó^^"
§ï¦¨Private Sub CommandButton1_Click()¤]¤£¦æ
©êºp!VBAÁÙ¬Oªì¾Ç^^"

¦pªG¥DÀɧ令¦pªþ¥ó
µ{¦¡½XÀ³¸Ó¦p¦ó½s¼g?
¸Û½Ð½ç±Ð!ÁÂÁ±z!

ªþ¥ó : (¥DÀÉ)·j´M«ü©wªº¦PÄæ¹ïÀ³­ÈªºVBA»yªk-1.rar (14.94 KB)

TOP

        ÀR«ä¦Û¦b : µêªÅ¦³ºÉ¡D§ÚÄ@µL½a¡AµoÄ@®e©ö¦æÄ@Ãø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD