I try to use button in userform to open certain webpage in browser. In Excel there is FollowHyperlink method, which does not work in SW.
You can use the Shell command. E.g. codes below.
Private Sub Url_Click()
Dim URL As String
URL = "http://www.gupta9665.com/"
Call Shell("explorer.exe " & URL, vbNormalFocus)
explorer.exe is Windows Explorer.
I've used this line for a long time, and it opens to the default browser:
Shell "rundll32.exe url.dll,FileProtocolHandler " & URL
I got a little ahead of myself. With your code, you need "http://" otherwise it opens to Windows Explorer. I put your line into my code, but my URL did not have it, so it didn't work for me.
Retrieving data ...