How do I open a web page?

  • Thread starter Thread starter Max Moor
  • Start date Start date
M

Max Moor

Hi All,
I want to open a webpage, either from a macro or VB. I don't have to
write anything out to it, or read anything back from it, I just want the
default browser to open and go there. There must be a simple way, but I'm
not finding it.

Thanks, Max
 
Try using the FollowHyperlink command. If you enter your website as
"http:\\www.yoursitehere.com" in the place for Address, it opens the site in
the default browser. There's an example in VB help.
Melinda
 
If you are using the click event of a button, image or label, you can use
the HyperlinkAddress property of those controls for web addresses, files,
etc. (A Label has to be an independent stand-alones or the necessary
properties & events won't appear. It can't be "attached" to another
control.)

HTH,
 
Try using the FollowHyperlink command. If you enter your website as
"http:\\www.yoursitehere.com" in the place for Address, it opens the
site in the default browser. There's an example in VB help.
Melinda



Awesome, Melinda. Just what I needed. Thanks, Max
 
If you are using the click event of a button, image or label, you can
use the HyperlinkAddress property of those controls for web addresses,
files, etc. (A Label has to be an independent stand-alones or the
necessary properties & events won't appear. It can't be "attached" to
another control.)

HTH,


Cool. Thanks, George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top