Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error GoTo Fin
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, [B4:B8]) Is Nothing Then
Dim L%, Lw%
With Sheets("DO")
L = 5: Lw = 5: [E1] = Target
While .Cells(L, "A") <> ""
If .Cells(L, "B") = Target Then
Cells(Lw, "E") = .Cells(L, "A"): Cells(Lw, "F") = .Cells(L, "C")
Cells(Lw, "G") = .Cells(L, "D"): Cells(Lw, "H") = .Cells(L, "E")
Lw = Lw + 1
End If
L = L + 1
Wend
End With
End If
Fin:
End Sub