title: Problem with IE combobox "type", my code change the value but does not update the content in the page
body: <p>I'm trying to select one option inside a combobox in the process to get a final production, the code is to long to post it all in here, so I will post the part I'm having problem with and if needed any extra detail just ask.</p>
  <p>This code is changing the value of the combobox but is not loading the table witch have the value Im looking for, its loading the first one in the line.</p>
  <p>Set e = IE.document.getElementById(&quot;inverterOption&quot;)</p>
  <pre><code>Dim o
  For Each o In e.Options
      If o.Value = sninversor.Value Then
          o.Selected = True
          Exit For
      End If
  Next
  </code></pre>
  <p><a href="https://i.stack.imgur.com/4bTlx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4bTlx.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/ww98z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ww98z.png" alt="enter image description here" /></a></p>
  <p>SOLUTION:</p>
  <pre><code>Set e = IE.document.getElementById(&quot;inverterOption&quot;)
  
  Dim o
  For Each o In e.Options
      If o.Value = &quot;'&quot; &amp; sninversor.Value &amp; &quot;'&quot; Then
          o.Focus
          o.Selected = True
          e.FireEvent (&quot;onchange&quot;)
          Exit For
      End If
  Next
  </code></pre>