title: Fail authentication using VBA to fill IE form
body: <p>I have a problem to login on a website using IE.</p>
  
  <p>My code(see at the end) fills the login/password fields without problem and then clicks on the submit button. But then I receive an error "Login failed" (without more details).</p>
  
  <p>The weird part is that if I manually copy/paste the password then click on that damn button the login is successful. </p>
  
  <p>I know that the website does not allow autofill functions (AutoComplete="OFF"in the HTML). Can it be related? Do you think there's a workaround?</p>
  
  <p>Let me know if you need any information that could be helpful.</p>
  
  <p>Thanks!
  Paul</p>
  
  <pre><code>Set HTMLdoc = IE.Document.frames(1).Document
  HTMLdoc.getElementById("txtUsername").Value = "XXXXX"
  HTMLdoc.getElementById("txtPassword").Value = "YYYYY"
  HTMLdoc.all("btnLogin").Click
  </code></pre>