Here is your one code line replacement solution:
'ws.Cells(ws.Rows.Count, mn + 1).End(xlUp).Offset(1) = fbn ws.Hyperlinks.Add ws.Cells(ws.Rows.Count, mn + 1).End(xlUp).Offset(1), f.Path, , , fbn
Here is your one code line replacement solution:
'ws.Cells(ws.Rows.Count, mn + 1).End(xlUp).Offset(1) = fbn ws.Hyperlinks.Add ws.Cells(ws.Rows.Count, mn + 1).End(xlUp).Offset(1), f.Path, , , fbn