Sub 分解为注塑表()
Dim h, arr
h = 6
With Sheets("注塑")
.Range("a6:CR65536").ClearContents
For Each sh In Sheets
If sh.Name = "订单评审汇总表" Then
For i = 6 To sh.[a65536].End(xlUp).Row
If CStr(sh.Cells(i, 34).Value) <> "" Then
arr = sh.Cells(i, 1).Resize(1, 45)
.Cells(h, 1).Resize(1, 45) = arr
.Cells(h, 46).Value = i
h = h + 1
End If
Next i
End If
Next
End With
End Sub