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

¦p¦ó±N½s¸¹¤§¶i¥X³f¸ê°T¶°¤¤¨Ã±qBÄ橹¥k±Æ¦C¼g¦b¥t¤@±i¤u§@ªíªº¦P¤@¦C¤W

¦p¦ó±N½s¸¹¤§¶i¥X³f¸ê°T¶°¤¤¨Ã±qBÄ橹¥k±Æ¦C¼g¦b¥t¤@±i¤u§@ªíªº¦P¤@¦C¤W

¦p¦ó¶°¤¤¬Û¦P½s¸¹¨Ã¨Ì½s¸¹¦bÄæ§e²{.rar (47.16 KB)

¦^´_ 1# ¤d·u´M

TOP

¥»©«³Ì«á¥Ñ n7822123 ©ó 2018-11-10 21:21 ½s¿è

¦^´_ 2# ¤d·u´M


§Ú¨S¥h­×§ï§Aªºµ{¦¡
§Ú¦Û¤v·s¼W¤@­Ó¤u§@ªí "¨ú¥X¸ê®Æ"¡AÂI¿ï¸Ì­±ªº"¨ú¥X¸ê®Æ"«ö¶s§Y¥i
À³¸Ó¥i¥H²Å¦X§Aªº»Ý¨D¡AÀɮצs¨â­Ó.xls  .xlsm ¡A¦]¬°°ª¤â³£¥Îª©



¦p¦ó¶°¤¤¬Û¦P½s¸¹¨Ã¨Ì½s¸¹¦bÄæ§e²{.rar (89.61 KB)
1

µû¤À¤H¼Æ

µ{¦¡¬O¨Ì»Ý¨D¼gªº¡A»Ý¨Dªí¹F¤£²M·¡
©ÎªÌ¨S¦³¤W¶Çªþ¥ó¡A·R²ö¯à§U

TOP

¦^´_ 3# n7822123
¤j¤j¦n±j,§¹¥þ²Å¦X§Ú­nªº,¤Ó·PÁ¤F,§Ú±o¦n¦n¬ã¨sµ{¦¡½X,­Y¦³¤£¸Ñ¤§³B,¦A½Ð±Ð¤j¤j.

TOP

¦^´_ 4# ¤d·u´M

Sub ¨ú¥XN03µ¥¶i¥X³f¤Îºâ¯d¦s()
Dim N, B, i%, C%, R%, Cn%, Arr, Brr, Crr
Set d = CreateObject("scripting.dictionary")
N = Array(0, 4, 5, 7, 19, 20, 24) '¨ú±o¸ê®ÆªºÄ渹¡A¦]°}¦C±q0¶}©l¡A¸É¤@­Ó"0"
Arr = Range([¾ú¥v±ÄÁÊ!X4], [¾ú¥v±ÄÁÊ!D4].End(4))
Brr = Range([¨ú¥X¸ê®Æ!B2], [¨ú¥X¸ê®Æ!A1].End(4))
For i = 1 To UBound(Arr)
  d(Arr(i, 1) & "") = d(Arr(i, 1) & "") & "," & i   '¥Î¦r¨å°O¿ý³v¤@¨ú¥X²{¦C¸¹
Next i
Sheets("¨ú¥X¸ê®Æ").Activate
Ri = 2   'Ri= ¶K¤W¸ê®Æªº°_©l¦C¸¹.¥B¥H«á·|©T©w¸õ7¦C (6¦C¬°¸ê®Æ°Ï,²Ä7¦C¬°ªÅ¥Õ¦C)
Columns("E:I").Clear        '²MªÅ¸ê®Æ&®æ¦¡
For i = 1 To UBound(Brr)   '¨Ì§Ç¨Ì½s¸¹(N03,¡K)¥Î¨Ó²£»sCrr°}¦C(¥ÑArr¹ïÀ³Äæ/¦C¨ú¸ê®Æ)
  B = Split(d(Brr(i, 1) & ""), ",")  ¡¥ ¤À³Î¨ú±o¸Ó½s¸¹¤Î¨ä¥X²{ªº¦C¸¹ ---µù1
  Cn = UBound(B)  ¡¥§Y¦P¤@½s¸¹¥X²{ªº³Ì°ª¦¸¼Æ½á­Èµ¹Cn ,¥i¯à¬°1©Î2©Î¡K
  Crr = Cells(Ri, 5).Resize(6, Cn)  ¡¥©T©w¼g¤J6¦C,Äæ¼Æ«hµø¥X²{¦¸¼Æ¨Ó¨M©w
  For C = 1 To Cn  ¡¥Cn =1®Éªí¥Ü¸Ó½s¸¹¥u¥X²{1¦¸ Cn·|¨M©wCrr°Ï°ì¤j¤p¤Î¥~°j°é¦¸¼Æ
    For R = 1 To 6  ¡¥C¥u­n¨C´`Àô¤@¦¸,R­n¶]6¦¸(§Y³v¤@¨ú6­Ó¤£¦PÄæ¦ì¼g¦b1~6¦C)
      Crr(R, C) = Arr(B(C), N(R) - 3)  ¡¥³v¤@±qArr¨ú¥X¦U¹ïÀ³Ä椧¸ê®Æ¼g¤JCrr
      If R = 3 Then Crr(R, C) = "¦³:" & Crr(R, C)
      If R = 4 Then Crr(R, C) = "¥X:" & Crr(R, C) & "½c"
      If R = 5 Then Crr(R, C) = "¯d:" & Crr(R, C) & "½c"
    Next R
  Next C
  With Cells(Ri, 5).Resize(6, Cn)  '§âCrr¸ê®Æ©ñ¨ì¤u§@ªí+³]©wÀx¦s®æ®æ¦¡
     .Value = Crr
     .Borders.LineStyle = xlContinuous
  End With
  Ri = Ri + 7
Next i
Columns("E:I").AutoFit  '¦Û°ÊÄæ¼e
End Sub

µù1:¥HN03¬°¨Ò,¥X²{ªº¦C¸¹¤À§O¬°1,7,12,18,23¦@5¦¸,«hd(Arr(i, 1) & "") = d(Arr(i, 1) & "") & "," & i¶]§¹ªºµ²ªG¬°:N03, 1,7,12,18,23
¦A¸gB = Split(d(Brr(i, 1) & ""), ",") ¤À³Îªºµ²ªG:B(0)=¡¨N03¡¨, B(1)= 1,B(2)=7, B(3)=12¡K
B(1), B(2)..§Y¬°¸Ó½s¸¹©Ò¦b¦C¸¹,¥BBªº¤¸¯À­Ó¼Æ·|ÀH¦U­Ó½s¸¹¦bArr¥X²{¦¸¼Æ¦ÓÅÜ
Crr(R, C) = Arr(B(C), N(R) - 3)  ¡¥©T©w¼g6¦C,¦ý¼g¦h¤ÖÄæ«hµø¥~°j°é¶]ªº¦¸¼Æ¦Ó©w.
N = Array(0, 4, 5, 7, 19, 20, 24) '¨ú±o¸ê®ÆªºÄ渹,¦ý¸ê®Æ¤£¬O±qA1¼g¤J,¦Ó¬O±qD4¼g¤J,©Ò¥H­n´î¥h3 ¬GN(R) ¡V 3 ·|³v¤@¨ú±o1,2,3,16,17,21 §Y¬°Arr°Ï°ì­n¨ú¸ê®Æªº¹ïÀ³Äæ¦ì

·PÁªüÀs¤j¤jªºµ{¦¡½X,«Ü¤Î®É¥Bºë·Çªº¸Ñ¨M¤F§Úªº»Ý¨D,¥H¤W¬O§Ú°Ñ¬ã¤F¤@±ßªº¤ß±o,Åý§Ú¹ï°}¦C©M¦r¨å¤S¦³§ó²`¤@¼hªº¤F¸Ñ©M´x´¤,±N¦Û¤v²z¸Ñªº³¡¥÷¼g¦b¤W­±¤À¨É,¨ä¤¤¦p¦³²z¸Ñ¤£¨¬©ÎÂÕ»~ªº¦a¤è,½Ð¦U¦ì¤j®v¤£§[½ç±Ð.

TOP

¥»©«³Ì«á¥Ñ n7822123 ©ó 2018-11-11 18:22 ½s¿è

¦^´_ 5# ¤d·u´M


¾Ç¨ì´N¬O§Aªº¤F!  ¬Ý±o¥X¨Ó§A¦]¬°¾Ç¨ìªF¦è¦Ó¶}¤ß

§Ú¥H«e¤]¬O¦b©_¼¯ª¾ÃÑ+ µo°Ý¡A¬Ý­ã¤jor¨ä¥¦°ª¤âªº¦^ÂЦۤv¾Ç

°¸µMµo²{³o­Ó½×¾Â¡A¨Ã¥B­ã¤j¤]¦b³o½×¾Â!! (¶}¤ß)¡A©Ò¥H§Ú¤]¥[¤J¤F³o­Ó½×¾Â

¦pªG§A·Q­nÅý§ó¦h°ª¤âÀ°§A¸Ñ¨M°ÝÃDªº¸Ü¡A¤W¶ÇªºÀɮ׺ɥi¯à¥Î .xls

¸Ü»¡....­ã¤j¤w¸g«Ü¤[¨S¦bª¾ÃÑ+¦^ÂФF
µ{¦¡¬O¨Ì»Ý¨D¼gªº¡A»Ý¨Dªí¹F¤£²M·¡
©ÎªÌ¨S¦³¤W¶Çªþ¥ó¡A·R²ö¯à§U

TOP

¦^´_ 6# n7822123
ÁÂÁ¤j¤j¼ö¤ß´£¿ô,¥H«áÀÉ®×·|¦s¦¨.xls®æ¦¡.

TOP

        ÀR«ä¦Û¦b : ¥Í®ð¡A´N¬O®³§O¤Hªº¹L¿ù¨ÓÃg»@¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD