使用VBA执行单击按钮

时间:2017-08-11 19:15:59

标签: javascript vba excel-vba excel

如何使用VBA执行以下单击按钮:

<a href='javascript:
        openLoadProgress(document.forms.AddFund);
        document.forms.AddFund.PASS_OFF.value = "/issuer/search_for_issuer.jsp?fromPage=/add_promote_uae.jsp&amp;ChangeIndex=-1&amp;fromAddIssuerPage=null&amp;EntityType=M";
        document.forms.AddFund.submit()'

    onclick="document.AddFund.fromPage.value='/add_promote_uae.jsp';">

我尝试了以下但没有成功:

Set CurrentWindow = IE.document.parentWindow 

Call CurrentWindow.execScript("openLoadProgress('search_for_issuer.jsp?')")

0 个答案:

没有答案