Sub dad试试()
Dim i, j, k, l, m, n
Dim xh1, xh2, xh3, xh4, xh5, xh6, xh7, xh8, xh9
Dim xha, xhb, xhc, xhd, xhe
Set p1 = ThisWorkbook.Sheets(1)
Set p2 = ThisWorkbook.Sheets(2)
arr = p1.UsedRange
k = 2
For xha = 2 To 4057
If arr(xha, 5) = "中山东凤营业部" Then
arr = arr(xha)
p2.Range(Cells(k, 1), Cells(k, 60)) = arr
k = k + 1
End If
Next
End Sub