Hi Chris
No problem, all we need to do is place the code below in the Worksheet Change Event (right click on sheet name tab and select "View Code")
Private Sub Worksheet_Change(ByVal Target As Range)
Dim FullPathName As String
If Target.Cells.Count > 1 Then Exit Sub
If Target = "" Then Exit Sub
If Target.Column = 1 Then
Application.EnableEvents = False
FullPathName = "C:\windows\" & Target
Target.Clear
Target.Hyperlinks.Add Anchor:=Target, _
Address:=FullPathName, TextToDisplay:=FullPathName
Application.EnableEvents = True
End If
End Sub
This will turn ALL entries entered into Column A into a hperlink.
Dave
OzGrid Business Applications
great!
to make the cell "text to display" equal what is entered what do I need to add to this code?
Thanks Dave!
Chris, removing "Target.Clear" should do it.
Dave
OzGrid Business Applications
Thanks Dave - you've been a huge help!