I have a worksheet with four columns A-D, column A has an ID number, B has description, C has location and D has a link to an image of the item. I have a short macro that ask the user for an ID# and searches column A for it. Once the ID is found a message box is displayed that includes the location of the tooling. I would like the hyperlink in Column D to open in a new window upon selecting the "Okay" button on the message box. Is this possible? Any help is greatly appreciated.
Here's what I have so far.
Dim FindString As String
Dim Rng As Range
FindString = InputBox("Enter Tooling ID#")
If Trim(FindString) <> "" Then
With Sheets("Sheet1").Range("A:A")
Set Rng = .Find(What:=FindString, _
After:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True 'value found
MsgBox "Tooling " & Rng & " is located at " & Rng.Offset(, 2).Value & "."
Else
MsgBox "Tooling not found" 'value not found
End If
End With
End If
Thanks again.