Try adding the following to the Sheet1 tab
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cell As Range
Application.EnableEvents = False
For Each Cell In Target
If Cell.Column = 5 Then
If Cell.Value <> "" Then
ActiveSheet.Hyperlinks.Add Anchor:=Cell, Address:= _
"C:\Documents and Settings\carl.walker\My Documents\Machine DWG\" & Cell.Value & ".txt" ', TextToDisplay:=Cell.Value
Else
Cell.Hyperlinks.Delete
End If
End If
Next Cell
Application.EnableEvents = True
End Sub
I've assumed that the file has a .txt extension.
Bookmarks