Access a Web Site from VBA,

  • Thread starter Thread starter hotbero
  • Start date Start date
H

hotbero

Hi!

I need a macro to access a web site from vba.

I do know How to use:
ActiveSheet.Hyperlinks.Add _
Anchor:=Selection, Address:= _
"http://www.allexperts.com", _
TextToDisplay:="Text to Dispaly"

BUT THIS IS NOT THE CASE!!


So I need some thing like:

Sub Eg()
Application.Open "www.google.com"
End Sub


This way when I presh Eg, I go directly to the desired Web Site, in
this example to www.gogle.com



PS: Please avoid sending me Hyperlinks examples using a range, a cell
and/or a selection.

This has to be done from VBA, and I have to go to the desired Web
Site from my macro!!!

Many Thanks!!!!!!!
 

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