G
Gary''s Student
I am trying to follow a hyperlink without generating a warning and am using:
Sub openit()
Dim s As String
s = "file:///c:\b.xls"
Application.DisplayAlerts = False
ActiveWorkbook.FollowHyperlink Address:=s
Application.DisplayAlerts = True
End Sub
I am, however still getting a warning: "Hyperlinks can be harmful....."
How do i surpress this?
Sub openit()
Dim s As String
s = "file:///c:\b.xls"
Application.DisplayAlerts = False
ActiveWorkbook.FollowHyperlink Address:=s
Application.DisplayAlerts = True
End Sub
I am, however still getting a warning: "Hyperlinks can be harmful....."
How do i surpress this?