parscon
10-30-2013, 04:49 AM
I have a VBA code that when run it it will launch clear.lnk but when it will be launch a windows will open and ask me would you like to open file and i must push the yes . is it possible launch the lnk without ask any question ?
Thank you.
Sub Openlnk()
On Error GoTo 1
ActiveWorkbook.FollowHyperlink "D:\clear.lnk", NewWindow:=True
Exit Sub
1: MsgBox Err.Description
End Sub
Thank you.
Sub Openlnk()
On Error GoTo 1
ActiveWorkbook.FollowHyperlink "D:\clear.lnk", NewWindow:=True
Exit Sub
1: MsgBox Err.Description
End Sub