Solution Aequitas Posted August 14, 2014 Author Solution Share Posted August 14, 2014 Thank you JohnOne. I used your idea of enumerating the links and used that to exitloop Func _FixOfficeID() $pop = 12 Local $oLinks = _IELinkGetCollection($oIE) Local $iNumLinks = @extended - 13 While 3 $iNumLinks = $iNumLinks - 1 $pop += 1 _IELinkClickByIndex($oIE, $pop) If $iNumLinks = 1 Then ExitLoop EndIf Sleep(500) _IEAction($oIE, "back") Sleep(200) WEnd EndFunc ;==>_FixOfficeID Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now