Trying to open a hyperlink using:
CreateObject("Shell.Application").Open "http://abc.def"
My problem is that the hyperlink is stored in a text box.
Therefore, when I try to do the following:
CreateObject("Shell.Application").Open textbox.value
it doesn't work.
I tried to save the textbox.value to a hperlink:
dim hlink as hyperlink
CreateObject("Shell.Application").Open hlink
This fails too.
It seems that if the double quotes proceed and hyperlink address and are added to the end of the hyperlink address it works fine.
How do I do this???
CreateObject("Shell.Application").Open "http://abc.def"
My problem is that the hyperlink is stored in a text box.
Therefore, when I try to do the following:
CreateObject("Shell.Application").Open textbox.value
it doesn't work.
I tried to save the textbox.value to a hperlink:
dim hlink as hyperlink
CreateObject("Shell.Application").Open hlink
This fails too.
It seems that if the double quotes proceed and hyperlink address and are added to the end of the hyperlink address it works fine.
How do I do this???