Dim Tot_num, aa
Tot_num = Application.WorksheetFunction.Count(Worksheets("Sheet1").Range("A:A"))
For i = 1 To Tot_num
If Worksheets("Sheet1").Cells(i, 1).Value = 1 Then
aa = Worksheets("Sheet1").Cells(i, 2)
Exit For
End If
Next i
Worksheets("Sheet2").Cells(1, 1) = aa