找到你要的答案

Q:VBA script to navigate an ifram and click a href to open ina ifram

Q:VBA脚本导航IFRAM点击链接打开INA IFRAM

I need to navigate a html file that look like this

List item:

<html>
<body>
<ul id ="min">
<li  class ="Top">
< a href = ****.asp?*********" target "tablemenu" id = " other " class "  top_Link"><span> production </span> </a></li>
</body>
</html>
<ifram name ="tablemenu " >
<html>
<head>
<body>
<tr> <th bgcolor ="red"  aline = left > <a href = " *****.asp?***name=account &req= production  &reqdescription= production*****" target ="tablemenu">  <b> <font color ="red">> Accounts </font></b></th></tr>
</body>
</html>
<ifram name ="mainwindow "  >
<html>
<body>
</body>
</html>

I am able to click on Production.

however i am unable to click on the Accounts which is in iframe Tablemenu

我需要在一个HTML文件,看起来像这样

列表项:

<html>
<body>
<ul id ="min">
<li  class ="Top">
< a href = ****.asp?*********" target "tablemenu" id = " other " class "  top_Link"><span> production </span> </a></li>
</body>
</html>
<ifram name ="tablemenu " >
<html>
<head>
<body>
<tr> <th bgcolor ="red"  aline = left > <a href = " *****.asp?***name=account &req= production  &reqdescription= production*****" target ="tablemenu">  <b> <font color ="red">> Accounts </font></b></th></tr>
</body>
</html>
<ifram name ="mainwindow "  >
<html>
<body>
</body>
</html>

我能点击生产。

然而我无法点击账户是iframe tablemenu

html  vba