I have a form with a button that does this:
The field on the form is called [Map] and it contains something like http://www.thelink.com
The button works, except it opens up ie with this address:
http://http://www.thelink.com
If at a loss, I think I need to somehow strip the http:// out of the text box called [Map] when the after the is entered. It is simple enough to just put a warning on the [Map] text box to tell the user to removed the http:// , but I know they will forget and call me when the link doesn't work because of the double http://'s
Thanks in advance.. I searched and can't find anything on this
Private Sub Command64_Click()
Dim IE
Set IE = CreateObject("internetexplorer.application")
IE.Navigate Map.Value
IE.Visible = True
End Sub
The field on the form is called [Map] and it contains something like http://www.thelink.com
The button works, except it opens up ie with this address:
http://http://www.thelink.com
If at a loss, I think I need to somehow strip the http:// out of the text box called [Map] when the after the is entered. It is simple enough to just put a warning on the [Map] text box to tell the user to removed the http:// , but I know they will forget and call me when the link doesn't work because of the double http://'s
Thanks in advance.. I searched and can't find anything on this
Last edited: