Hi all,
I am trying to click on a button present on a webpage using VBA, this button doesn't have any ID:
So I am trying to launch the function startBusyBox() like this:<a class="homeMenu" onclick="startBusyBox();this.style.cursor='wait' ;document.body.style.cursor='wait' ;" href="/CCCWeb/filterClientListFromDefineAsOf.do?do=clientMenu">
But it doesn't work:Set IEDoc= IE.document
IEDoc.parentWindow.execScript ("startBusyBox()", "JavaScript")
Run-time error '-2147352319 (800201001)":
Automation error
Anyone has any idea how to solve this??
Thank you very much