如何在喜欢的combobox中使用vba在Internet Explorer中的值

我正在尝试使用VBA在网站上填写表单。

问题:问题是,在网页中,例如,如果我手动在第一个combobox中select一个值,则它会激活下一个combobox(否则会显示为灰色),从而链接combobox。 但是,当我尝试在下面的代码的最后一行中使用vba填充combobox中的值时,下一个combobox仍为灰色/非活动状态。 请帮忙。

Sub newabc() Dim ie As Object Set ie = CreateObject("internetexplorer.application") ie.Visible = True ie.navigate "URL" While ie.Busy DoEvents Wend ie.Document.getelementbyid("USER").Value = "username" ie.Document.getelementbyid("PASSWORD").Value = "password" ie.Document.all("Submit").Click While ie.Busy DoEvents Wend ie.navigate "tab" While ie.Busy DoEvents Wend ie.Document.all("new").Click While ie.Busy DoEvents Wend ie.Document.all("j_id0:frm:jobTrackerPageBlock0:startflds1:repeat5:1:inputField").Value = "Media Payables" 'problem occurs here as the next combo box stays inactive. 

完善

ie.Document.all("elementID‌​").onchange做的伎俩。 谢谢。 我一直在试图弄清楚这个问题已经有一段时间了。 谢谢一吨阿克塞尔·里希特。