Create a Module Level object in the VBE and add the following and then run the macro "CheckURLExists"
Sub CheckURLExists()
Dim rCell As Range, stURL As String
For Each rCell In ActiveSheet.Range("A1:A100")
stURL = Trim(rCell.Value)
If Len(stURL) > 0 Then
If Not LCase(stURL) Like "http*" Then stURL = "http://" & stURL
rCell.Offset(0, 1).Value = IIf(URLExists(stURL), "True", "False")
End If
Next rCell
End Sub
Function URLExists(stURL As String) As Boolean
Dim oURL As Object
Set oURL = CreateObject("MSXML2.XMLHTTP")
oURL.Open "HEAD", stURL, False
On Error Resume Next
oURL.send
URLExists = (oURL.Status = 200)
End Function
HTH
Bookmarks