0

How can I execute the following click button using 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';">

I have tried the following without success:

Set CurrentWindow = IE.document.parentWindow 

Call CurrentWindow.execScript("openLoadProgress('search_for_issuer.jsp?')")
6
  • I think there must be at least 100 questions asking exactly this on this site. Did you try to search? Commented Aug 11, 2017 at 19:36
  • Yes. That approach I'm trying was found here as well. Commented Aug 11, 2017 at 19:37
  • stackoverflow.com/questions/3247391/… Commented Aug 11, 2017 at 19:37
  • You're going to have to better explain what the problem is. "It's not working" isn't a programmer's problem statement, it's how a user complains. Commented Aug 11, 2017 at 19:39
  • is this for Luxembourg Stock Exchange bourse.lu ? maybe they changed their website to prevent web scraping. Commented Aug 11, 2017 at 19:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.