Hi,
I'm trying to open an URL from Visual Basic and the code below works fine:
Sub OpenURL(urlName)
Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
ie.Visible = True
ie.navigate urlName
Set ie = Nothing
end sub
However, when I'm executing the code, it is giving a security warning and asking me to open or save the URL. Is there a way to get rid of this question and always open the link directly ?
Kindest regards,
Saskia
I'm trying to open an URL from Visual Basic and the code below works fine:
Sub OpenURL(urlName)
Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
ie.Visible = True
ie.navigate urlName
Set ie = Nothing
end sub
However, when I'm executing the code, it is giving a security warning and asking me to open or save the URL. Is there a way to get rid of this question and always open the link directly ?
Kindest regards,
Saskia