圖二
Sub 分類1()
Sheet6.Visible = True
Sheet6.[A2:A65536].ClearContents
X = Sheet2.[A65536].End(xlUp).Row
Y = Sheet6.[A65536].End(xlUp).Row + 1
For M = 2 To X
If Sheet2.Cells(M, 1) Like "*ts1*" And Sheet2.Cells(M, 1) Like "*Pad*" Then
Sheet6.Cells(Y, 1) = Sheet2.Cells(M, 1)
Y = Y + 1
End If
Next
End Sub作者: PKKO 時間: 2015-1-7 20:11