Re: Navigate Internet Explorer using VBA
Hello, i'm a new user and i appreciate your post about how to navigate IE using VBA.
I have a trouble with a submitting form and i would like to know your opinion about it.
The link of the web site is http://www.assurland.com/Pages/Resultat/Restit.aspx?wait=1&crm=1&product=EMPR&qid=BTKOPEOEXIEAHHGDD
and i cannot submit the form "Cliquez ici pour comparer en détail".
Here is my code:
For Num = 0 To IE.Document.getElementsByTagName("TD").Length - 1
If IE.Document.getElementsByTagName("TD").Item(Num).className = "al_compare" Then
IE.Document.getElementsByTagName("TD").Item(Num).Click
'MsgBox IE.Document.getElementsByTagName("TD").Item(Num).tagName
'MsgBox IE.Document.getElementsByTagName("*").Item(Num).innerText
Exit For
End If
Next
Can you give me an advice ?
Regards
Codactu.
Hello, i'm a new user and i appreciate your post about how to navigate IE using VBA.
I have a trouble with a submitting form and i would like to know your opinion about it.
The link of the web site is http://www.assurland.com/Pages/Resultat/Restit.aspx?wait=1&crm=1&product=EMPR&qid=BTKOPEOEXIEAHHGDD
and i cannot submit the form "Cliquez ici pour comparer en détail".
Here is my code:
For Num = 0 To IE.Document.getElementsByTagName("TD").Length - 1
If IE.Document.getElementsByTagName("TD").Item(Num).className = "al_compare" Then
IE.Document.getElementsByTagName("TD").Item(Num).Click
'MsgBox IE.Document.getElementsByTagName("TD").Item(Num).tagName
'MsgBox IE.Document.getElementsByTagName("*").Item(Num).innerText
Exit For
End If
Next
Can you give me an advice ?
Regards
Codactu.