Button to load a Website

Button to load a Website

am 06.11.2007 10:46:43 von S.Dickson

I would like to put a button on a form that will load up a website

the website bing
http://www.business-post.com/scripts/wsisa.dll/ws_refquickpo d.html?lc_SearchValue=ORDERNUMBER


Where ORDERNUMBER is a field on the form


Thanks

Simon

Re: Button to load a Website

am 06.11.2007 15:00:14 von Arc

it should just be:

application.followhyperlink
"http://www.business-post.com/scripts/wsisa.dll/ws_refquickp od.html?lc_SearchValue=ORDERNUMBER"




"Simon" wrote in message
news:1194342403.374867.164440@v3g2000hsg.googlegroups.com...
>I would like to put a button on a form that will load up a website
>
> the website bing
> http://www.business-post.com/scripts/wsisa.dll/ws_refquickpo d.html?lc_SearchValue=ORDERNUMBER
>
>
> Where ORDERNUMBER is a field on the form
>
>
> Thanks
>
> Simon
>

Re: Button to load a Website

am 06.11.2007 16:00:29 von Fred Zuckerman

Assuming that ORDERNUMBER is numeric,
I think it should be:

Dim strLink As String
strLink =
"http://www.business-post.com/scripts/wsisa.dll/ws_refquickp od.html?lc_SearchValue="
& ORDERNUMBER
Application.FollowHyperlink strLink

Fred Zuckerman

"ARC" wrote in message
news:Or_Xi.2899$yV6.1906@newssvr25.news.prodigy.net...
> it should just be:
>
> application.followhyperlink
> "http://www.business-post.com/scripts/wsisa.dll/ws_refquickp od.html?lc_SearchValue=ORDERNUMBER"
>
>
>
>
> "Simon" wrote in message
> news:1194342403.374867.164440@v3g2000hsg.googlegroups.com...
>>I would like to put a button on a form that will load up a website
>>
>> the website bing
>> http://www.business-post.com/scripts/wsisa.dll/ws_refquickpo d.html?lc_SearchValue=ORDERNUMBER
>>
>>
>> Where ORDERNUMBER is a field on the form
>>
>>
>> Thanks
>>
>> Simon
>>
>