通过VBA在网页上执行javascript [英] execute javascript on a webpage via VBA

查看:289
本文介绍了通过VBA在网页上执行javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RE:通过VBA在网页上执行javascript


我有一个打开网页的程序。我想要做的是点击该页面上的一个按钮,但它实际上并不是一个按钮。有一个单击按钮的Javascript功能。运行以打开不同版本的网页。

RE: execute javascript on a webpage via VBA

I have a procedure that opens a webpage. What I want to do is click a button on that page, but it isn''t really a button. There is a Javascript function that clicking the "button" runs to open a different version of the webpage.

推荐答案

这是在VBA论坛中。我想你其实想在其他地方发帖。无论是在。 .Net论坛或javascript论坛。


话虽如此,这里有关于在javascript中打开URL的文档。
http://www.w3schools.com/jsref/met_win_open.asp

Jim
This is in the VBA forum. I think you actually want to post that elsewhere. Either in the. .Net forum or javascript forum.

That being said, here''s documentation on opening a URL in javascript.
http://www.w3schools.com/jsref/met_win_open.asp

Jim


展开 | 选择 | Wrap | 行号


jimatqsi:

我将问题从标题移到了正文的文字。这有助于澄清该主题与VBA有关。


LWKnox:

我们需要查看您用来调用的代码网页,以便这里的专家之一可以确定如何最好地获得处理到开放的网页。
jimatqsi:
I moved the question from the title to the body of the text. This helps to clarify that the topic concerns VBA.


LWKnox:
We will need to see the code that you are using to call the webpage so that one of the experts here can determine how best to get the "handle" to the open webpage.


这篇关于通过VBA在网页上执行javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆