This is a stab in the dark because I'm not certain of your setup, but based on how you laid out your example, if you select the cell that has the "111" in it ("A1" in your example) this code will replace the characters in the links between the "/" and the ".html" in cells 3, 4, and 5 rows below the selected cell ("A4:A6" in your example).
Sub ReplaceLinks()
Dim lnk As String, rpl As String
Dim i As Integer
rpl = Selection.Value
For i = 3 To 5
lnk = Selection.Offset(i, 0).Value
lnk = Mid(lnk, 1, InStr(1, lnk, "/")) & rpl & Right(lnk, Len(lnk) - InStrRev(lnk, ".html") + 1)
Selection.Offset(i, 0).FormulaR1C1 = lnk
Next i
End Sub
Bookmarks