I am getting closer!
I am using the following code now
Option Explicit
Private fso As Object
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Selection.Count = 1 Then
If Not Intersect(Target, Range("B2:B1000")) Is Nothing Then
Target = ("https://google.com" & "/100" & Replace(Replace(Replace(Replace(Replace(Target.Offset(0, -1), "ABC", ""), "-1", ""), "-2", ""), "-3", ""), "-4", ""))
End If
End If
End Sub
When I click the button the cell is showing the right output but there is no Hyperlink output.
The last thing which is needed is to add something to the VBA code that opens the hyperlink output upon click and activating the above VBA code
Bookmarks