Dim oItem As Object For Each oItem in Document.getElementsByTagName("option") ... Next
Dim oItem As Object, M Set M = wb1.Document.getelementbyid("categorie_1").getElementsByTagName("option") For Each oItem In M List1.AddItem oItem.Value & " " & oItem.innertext Next
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question<textarea name="description" cols=50 rows=5 class="descr_add_site_annu"></textarea>
Dim HTML As HTMLDocument, HTMLE As HTMLInputElement Set HTML = wb1.Document For Each HTMLE In HTML.getElementsByTagName("textarea") If HTMLE.Name = "nom du champ textarea" Then HTMLE.Value = "valeur a ajouter" Set HTML = Nothing Exit For End If Next