Sub 查詢系統() Range("h2:k999").Clear Dim a%, m% m = 2 'a = Columns(1).Find("*", , , , , , , xlPrevious).Row For i = 1 To 10 If Cells(i, 1) Like [h1] Then Range("a" & i & ":d" & i).Copy Cells(m, 8) m = m + 1 End If Next End Sub