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
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