Object Required Error on VBA (submitting IE form using VBA)
<p>My code was working perfectly fine a few hours ago. But when I open the document now and run it, I get the error:</p>

<blockquote>
  <p>Run-time error '424': Object required</p>
</blockquote>

<p>Here's my code:</p>

<pre><code> Dim ieApp As New SHDocVw.InternetExplorer
 ieApp.Visible = True
 ieApp.Navigate = "&lt;url here; sorry, its confidential&gt;"

 Do While ieApp.Busy And Not ieApp.ReadyState = READYSTATE_COMPLETE
     DoEvents
 Loop

 Dim ieElement As Object
 Set ieElement = ieApp.Document.getElementById("i_specialist")
 ieElement.Value = "TestValue"
</code></pre>

<p>The error points to:</p>

<blockquote>
  <p>Set ieElement = ieApp.Document.getElementById("i_specialist")</p>
</blockquote>

<p>I really have no idea what went wrong. I'm thinking two possible causes:
- Object type is wrong
- Something went wrong with loading the page that the code can't find the field</p>

<p>Any help is appreciated! Thanks!</p>