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

¸óÄæ¹ï¤ñ

¥»©«³Ì«á¥Ñ Andy2483 ©ó 2024-3-4 19:12 ½s¿è

¦^´_ 8# 198188


    ÁÂÁ «e½ú«ü¾É
­ì½d¨ÒKP¬OIJKÄæ¡A½Ð«e½ú¸Õ¤F¸Ñ¸Õ§ï¬Ý¬Ý
Range([KP!K1], [KP!I65536].End(3))
§ï¬°
Range([KP!J1], [KP!H65536].End(3))
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¥»©«³Ì«á¥Ñ 198188 ©ó 2024-3-4 18:20 ½s¿è

¦^´_ 7# Andy2483



³W«h¬O¤@¼Ëªº¡A¤£¹L²Ä¤@½d¨Ò¥i¯à¬Ý¨ì®ÄªG¨S¦³¨º麽²M·¡¡A©Ò¥H¤W¸ü²Ä¤G½d¨Ò¡A½Ð¥H³o­Ó¦^´_ªº¹Ï¤ù爲¨Ò

TOP

¦^´_ 6# 198188


    «e½ú¦Û¤v´ú¸Õªº½d¨Ò»P1#ªº½d¨Ò¤£¦P,«á¾Ç²q¿ù»Ý¨D,½Ð¤W¶Ç¯u¥¿ªº»Ý¨D½d¨Ò
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 5# Andy2483



    ¹B¦æVBA¦Z¡AKP内¬O H- J Äæ¨S¦³Åª¨ú¥X¨Ó¡A¥H¦Ü¶À¦â³¡¤À¤£¥¿½T¡C
KP & KH ¨â­Óªí®æùØ¡A³£¦³¤À§O¦³¨â¥÷¸ê®Æ¡AÄæ A - C   & Äæ H - J

TOP

¥»©«³Ì«á¥Ñ Andy2483 ©ó 2024-3-4 16:03 ½s¿è

¦^´_ 1# 198188


Option Explicit
Sub TEST()
Dim Arr, Brr, Crr, V$, Z, i&, T$, TT$, A, xA As Range, N%
Set Z = CreateObject("Scripting.Dictionary")
Set xA = Range([1!G1], [1!A65536].End(3))
xA.Offset(1, 12).ClearContents:  Brr = xA
For i = 2 To UBound(Brr)
   T = Format(Trim(Brr(i, 2)), "0000000"): V = Format(Val(Brr(i, 7)), "0000000"): TT = T & "/" & V
   Z(TT) = i
Next
Arr = [1!M1].Resize(UBound(Brr), 3)
A = Array(Range([KH!C1], [KH!A65536].End(3)), Range([KH!J1], [KH!H65536].End(3)), Range([KP!C1], [KP!A65536].End(3)), Range([KP!K1], [KP!I65536].End(3)))
For Each Crr In A
   Crr = Crr: N = N + 1
   For i = 3 To UBound(Crr)
      T = Format(Trim(Crr(i, 1)), "0000000"): V = Format(Val(Crr(i, 2)), "0000000"): TT = T & "/" & V
      If Z.Exists(TT) Then
         If Arr(Z(TT), 1) = "" Then
            Arr(Z(TT), 1) = Crr(1, 1)
            ElseIf InStr("/" & Arr(Z(TT), 1) & "/", "/" & Crr(1, 1) & "/") = 0 Then
            Arr(Z(TT), 1) = Arr(Z(TT), 1) & "/" & Crr(1, 1)
         End If
         Arr(Z(TT), N \ 3 + 2) = Crr(1, 3)
      End If
   Next
Next
[1!M1].Resize(UBound(Brr), 3) = Arr
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 3# Andy2483


    KH ¸ê®Æªíªº H1 Àx¦s®æ

TOP

¦^´_ 2# 198188


    ÁÂÁ«e½úµoªí¦¹¥DÃD»P½d¨Ò
½Ð°Ý[M5]¸Ìªº BF/BH/BJ  ,³o BJ±q¦ó¨Ó?
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 1# 198188


    ¹Ï¤ù¬O°õ¦æ«e¤Î°õ¦æ¦Z®ÄªG¡A¥H¤Î¨â­Ó¸ê®Æ®w KP & KH¡C

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD