Hi!
I have this in a module:
This code opens a URL perfectly but I want a code for opening a URL in a new window.Code:Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Public Function OpenURL(ByVal URL As String) As Long OpenURL = ShellExecute(0&, vbNullString, URL, vbNullString, vbNullString, vbNormalFocus)
Any suggestions?
ThanX.![]()


Reply With Quote