Sending a URL to IE from a Form button

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

Guest

I'm trying to create a Form button that sends a URL to IE and makes IE the
active application. I can find nothing in the documentation that shows this.


(=DDESend displays a #Name? error in a text box.)

MANY thanks!
 
Application.FollowHyperlink "http://www.google.com"

Application.FollowHyperlink will open any file in the default program for
that file type on your machine. So if IE is your default navigator it will
be used to view any webpage passed to it.
 
Awesome...thank you! Is there a way I can pass this to an already open
instanec? I need to by-pass a login.asp page at the deistination page.
 
In that case you are best to look into using an ocxWebBrowser (from your more
controls - also accessible through tools-activex controls...) in your form,
navigate to the login page (and authenticate) and then pass any url you want
using code like:

Me.ocxWebBrowser.Navigate "http://www.google.com"

where ocxWebBrowser is the name that you attribute to your ocxWebBrowser
control.
--
Hope this helps,

Daniel P
 
Back
Top