josechakkala
New Member
- Joined
- Nov 23, 2013
- Messages
- 22
I had automated an internal application (IE) in my company using excel macro. In the code i have used readystate property of the document object to determine whether the page is loaded or not. Now when I upgraded my IE to IE11, ready state function is not working. When googled came to know that property is removed from IE1 onwards. Not able to find any alternative for ready state. Requesting your help.
As the application is in my companys intranet, not possible to paste the URL.
Piece of code am referring to is updated below. In that ReqResWindow is the IE Object and DocObjReqRes is a document object.
Set DocObjReqRes = ReqResWindow.Document
Do
DocObjReqResReadyState = DocObjReqRes.ReadyState
Loop Until DocObjReqResReadyState = "complete"
As the application is in my companys intranet, not possible to paste the URL.
Piece of code am referring to is updated below. In that ReqResWindow is the IE Object and DocObjReqRes is a document object.
Set DocObjReqRes = ReqResWindow.Document
Do
DocObjReqResReadyState = DocObjReqRes.ReadyState
Loop Until DocObjReqResReadyState = "complete"