I have displayed my hyperlink in the column E as shown
`\\maroon\cgm images\mech.pdf`

But I want to display only `mech.pdf` in the cell how to modify my code.

my code used for displaying above hyperlink is shown below:

```
str = "\\maroon\CGM Images\" & pn & ".pdf"
ActiveSheet.Hyperlinks.Add Range("e" & i), str

```

In this I want to show only `pn` & `str`.