Re: Activating IE and going to a specific page



Hallo,

Warmy wrote:

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

.



Relevant Pages

  • Re: Unspecified Automation Error
    ... Closing and re-opening Excel doesn't help. ... Private Function RevZip(sZip5 As String) As Variant ... Dim IE As InternetExplorer ...
    (microsoft.public.excel.programming)
  • RE: Unspecified Automation Error
    ... Closing and re-opening Excel doesn't help. ... Private Function RevZip(sZip5 As String) As Variant ... Dim IE As InternetExplorer ...
    (microsoft.public.excel.programming)
  • Get images with MSHTML library in Visual Basic 6.0
    ... Dim ie As InternetExplorer ... Dim images As IHTMLElementCollection ... What do I put here to get the binary data returned from the image tag ...
    (microsoft.public.vb.general.discussion)
  • Unspecified Automation Error
    ... Closing and re-opening Excel doesn't help. ... Private Function RevZip(sZip5 As String) As Variant ... Dim IE As InternetExplorer ...
    (microsoft.public.excel.programming)
  • Re: Reference to IE - but none found?
    ... > Sub saveImg ... > Dim oXHTTP As New MSXML2.XMLHTTP ... > "Jake Marx" wrote: ... >> The reference you need for the InternetExplorer object is "Microsoft ...
    (microsoft.public.excel.programming)

Loading