FollowHyperlink

  • Thread starter Chris F via AccessMonster.com
  • Start date
C

Chris F via AccessMonster.com

Good afternoon,

I am using the FollowHyperlink command to access Internet Explorer and
redirect to a specific site as specified by a form. I then I have to
manually click on a button on the web site to activate a Javascript routine
to bring up a seperate internet Explorer window to enter data. The
javascript routine only works while I am on the site specified. Is there a
way to stream line the process and have the FollowHyperlink command:
1.) Open a new window and redirect to the specified site
2.) Run the Javascript code

I have tried the following and it does not seem to work:
Trial 1 : Putting the Javascript in the extra data field
MyURL = Me.MyButton.Value
MyJava = "Javascript: to_mapsearch()"

Application.FollowHyperlink MyURL, , True, , MyJava
Trial 2: Putting the Javascript in the subaddress
MyURL = Me.MyButton.Value
MyJava = "Javascript: to_mapsearch()"

Application.FollowHyperlink MyURL, MyJava, True

Any help with this would be greatly appreciated. Thank you in Advance.
Chris F
 

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

Top