Dim IE As Object
Dim maPageHtml As HTMLDocument, HyperT As IHTMLElementCollection
Dim Helem As IHTMLElementCollection, Htable As IHTMLElementCollection
'activaton d'internet explorer
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.navigate "http://www.adresse"
While IE.Busy
Wend
Set maPageHtml = IE.document
'remplissage des champs de la page internet afin de faire la recherche
Set Helem = maPageHtml.getElementsByTagName("input")
Helem("keywords").innerText = "toluene"
Helem("image2").Click
While IE.Busy
Wend
'une fois sur la page résultat, faire afficher 50 résultats par page
Set HyperT = maPageHtml.getElementsByTagName("select")
HyperT(1).Options(2).Selected = True
'ou HyperT(1).selectedIndex = 2 ---> ça fonctionne aussi
'il me manque une ligne afin d'updater la page
While IE.Busy
Wend