下面我们来看看代码:
Sub test()
Dim arr, brr, k
Range("A1").CurrentRegion.Value =
ReDim brr(1 To 100, 1 To 6)
2 To UBound(arr) =
crr = Split(arr(i, 4), "、")
For m = 0 To UBound(crr)
k = k + 1
5) = crr(m)
For j = 1 To UBound(brr, 2)
If j <> 5 Then brr(k, j) = arr(i, j)
Next j
Next m
Next i
brr =
End Sub
下面来看看效果:
好了,本期教程就到这里啦,走过路过的点个关注分享一下吧,谢谢啦