Activating IE and going to a specific page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a specific page that I want to go to within my website that I want to
activate from an Access commandbar, menubar. The below works just fine.

Dim ie As InternetExplorer
Set ie = New InternetExplorer
ie.Visible = True
ie.Navigate ("www.mywebsite.com")

But when I want to have IE to go to a specific page on my website site, it
does not work.
ie.Navigate("www.mywebsite.com/aboutus.aspx") or
ie.Navigate("www.mywebsite.com/aboutus") don't work.

TIA
Warmy
 
Hallo,
I have a specific page that I want to go to within my website that I
want to activate from an Access commandbar, menubar. The below works
just fine.

Dim ie As InternetExplorer
Set ie = New InternetExplorer
ie.Visible = True
ie.Navigate ("www.mywebsite.com")

But when I want to have IE to go to a specific page on my website
site, it does not work.
ie.Navigate("www.mywebsite.com/aboutus.aspx") or
ie.Navigate("www.mywebsite.com/aboutus") don't work.


Should work.
Try it with http://... and without ()

Joerg
 
Nope still does not work. I even copy it from the address line when I
manually go into my web site. No go on that either.
 
Hallo,
Nope still does not work. I even copy it from the address line when I
manually go into my web site. No go on that either.

What happens when you use
Application.FollowHyperlink "URL"

Joerg
 
Back
Top