|
Sub 按钮1_Click()
Application.ScreenUpdating = False
arr = Sheets("检测台帐").UsedRange
brr = Sheets("检测台帐").[a1].Resize(Rows.Count, UBound(arr, 2))
r = 1
For j = 2 To UBound(arr)
If Len(arr(j, 9)) > 0 Then
crr = Split(";" & arr(j, 9), ";")
drr = Split(";" & arr(j, 10), ";")
wrr = Split(";" & arr(j, 11), ";")
For i = 1 To UBound(crr)
r = r + 1
For w = 1 To UBound(arr, 2)
brr(r, w) = arr(j, w)
Next w
brr(r, 9) = crr(i)
brr(r, 10) = drr(i)
brr(r, 11) = wrr(i)
Next i
End If
Next j
Sheets("拆分要求").[a1].Resize(r, UBound(brr, 2)) = brr
Application.ScreenUpdating = True
End Sub
|
评分
-
1
查看全部评分
-
|