回復 1#sammyc
先行謝謝, 但執行後, 沒任何變動,
行到 s = s + 1後, 己跳到next
Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, a.Offset(, 3).Value, a.Offset(, 4).Value, a.Offset(, 5).Value, a.Offset(, 6).Value)
s = s + 1
Else
ay = Split(a.Offset(, 3), ",")
For Each c In ay
If c <> "" Then
ReDim Preserve Ar(s)
Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, "," & c & ",", a.Offset(, 4).Value, a.Offset(, 5).Value, a.Offset(, 6).Value)
s = s + 1
End If
Next
End If作者: Hsieh 時間: 2011-2-18 17:42