none
Trying to capture an onchange event RRS feed

  • Question

  • I'm working on a VBA based communication between Excel and IE, where the IE instance is launched by Excel. The IE then opens an HTML file which contains a field, which content is changed by scripting within the page.

    I'm struggling to capture the onchange event of that field. When I manually enter a different value and leave the field (loss of focus) the onchange event is captured as expected. However, when changing the field content by scripting including a JQuery call to trigger a change event on that field, this is not recognized by Excel.

    Any ideas how to teach Excel by VBA to launch IE and keep an eye on a field to recognize when its content changes by scripting?

    Monday, December 21, 2015 12:15 PM