how to create HTML event at EDGE or CHROME by VBA

cpa mac 26 Reputation points

Anybody kindly let me know how to how to vba coding to create HTML event at EDGE or CHROME.
At IE, you can use vba codes below when you move behind JAVA.
Set evt = objIE.document.createEvent("HTMLEvents")
evt.initEvent "change", True, False
Please give hints how to pass, thank you.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam of Simple Samples 5,531 Reputation points

    VBScript is no longer supported in IE11 edge mode (Windows) | Microsoft Learn

    Is that what you are trying to do? Are you trying to use VBScript in HTML?