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

[µo°Ý] ¸ê®ÆÂà¸m¨D§U«e½ú

¦^´_ 2# singo1232001


¤j¤j±z¦n¡A¦pªG¸ê®Æ¨Ó·½¦b¦h¥[´X¦C¡Aµ²ªGÅã¥Ü·|¤£¤@¼Ë¡A½Ð¦A´ú¸Õ¬Ý¬Ý¡AÁÂÁ¡C

TOP

¦^´_ 1# dou10801

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁ¡C

Sub test()
Dim Arr, Brr(), i&, s%, k%, n%, x%
Arr = Range([a3], [c65536].End(3))
ReDim Brr(1 To UBound(Arr), 1 To 16)
For i = 1 To UBound(Arr)
    s = s + 1: k = k + 1
    For j = 1 To 3
        n = n + 1: Brr(n, k) = Arr(i, j)
    Next j
    If s = 16 Then
        x = x + 1: R = R + s
        n = R / 16 * 3 + x
        k = 0: s = 0
    Else
        If n < 4 Then n = 0 Else n = n - 3
    End If
Next
Range("h12").Resize((x + 1) * 4, 16) = Brr
End Sub

TOP

¦^´_ 1# dou10801

±Æ¯Zªí¦p¦ó®M¤Jªí®æ2_v1.zip (23.51 KB)

test

TOP

        ÀR«ä¦Û¦b : §g¤l¥ß«í§Ó¡A¤p¤H«í¥ß§Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD