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

¸ê®Æ¬Û¦P±Æ¦b¦P¤@¦Cªº°ÝÃD

ÁÂÁ½׾Â,ÁÂÁ¦U¦ì«e½ú
«á¾Ç¤µ¤Ñ½m²ß°}¦C»P¦r¨å,±N°}¦C¤@¦¸¼g¤JÀx¦s®æ,½m²ß¤è®×¦p¤U,½Ð¦U¦ì«e½ú«ü±Ð

Option Explicit
Sub TEST_1()
Dim Brr, Crr, V, Y, R&, C%, i&, T$, xR As Range, Ma%
Set Y = CreateObject("Scripting.Dictionary")
Set xR = Range([B2], Cells(Rows.Count, "A").End(3)): Brr = xR
ReDim Crr(1 To UBound(Brr), 1 To Columns.Count - 14)
For i = 1 To UBound(Brr)
   T = Brr(i, 2)
   If Y(T & "/R") = "" Then
      R = R + 1: Y(T & "/C") = 1
      Y(T & "/R") = R: Crr(R, 1) = Brr(i, 2)
      Else
         Y(T & "/C") = Y(T & "/C") + 1
         Crr(Y(T & "/R"), Y(T & "/C")) = Brr(i, 1)
   End If
   If Y(T & "/C") > Ma Then Ma = Y(T & "/C")
Next
[N1].Resize(, Ma).EntireColumn.Clear
[N7].Resize(R, Ma) = Crr: [N6] = [B1]
[N7].CurrentRegion.Borders.LineStyle = 1
Set Y = Nothing: Set xR = Nothing: Erase Brr, Crr
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

        ÀR«ä¦Û¦b : ¦¨¥\¬OÀuÂIªºµo´§¡A¥¢±Ñ¬O¯ÊÂIªº²Ö¿n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD