Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(ActiveCell, [B5:B19]) Is Nothing Then Exit Sub
Dim x$, p%, pp%
x = Application.GetOpenFilename
p = InStrRev(x, ".")
pp = InStrRev(x, Application.PathSeparator)
Union(ActiveCell, ActiveCell(1, 6)) = ""
If p Then ActiveCell = Mid(x, pp + 1, p - pp - 1): ActiveCell(1, 6) = x
[A1].Select
End Sub