dispatchEvent - VBA IE automation

雨燕双飞 提交于 2019-12-02 08:25:16

I figured out what needed to occur was a few mouse events had to fire to move forward.

I ended up setting the cell in the table that I wanted to click and used fireEvent to fire all of the onmouse* events that had to happen.

     Set objLink = IE1.document.frames("mainParent").document.forms("AgentProfileList").document.getElementById("grdProfile_r_0").document.getElementById("grdProfile_rc_0_2")
 objLink.fireEvent ("onmouseover")
 objLink.fireEvent ("onmousedown")
 objLink.fireEvent ("onmouseup")
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!