I'm trying through VBA in Excel, filling a combobox on an internet page.
But when I run the code, that error message appears saying that "The object does not accept this property or method" . Part of the HTML code for the webpage is this:
TheComboboxthatIneedtofillisatexttype,andIwillinsertazipcode:
Mycodeiswrittenlikethis:
IE.Document.getElementByName("zipcode").innertext = "13214661"
I have already changed, trying to use document.all
, document.GetElementByID
, document.GetElementByClass
, etc. Anyway, even without HTML handling, I made a few attempts. Can anyone help me?