title: VBA code to pass username & password
body: <p>I'm trying to update some data into a SharePoint document and while trying this in local environment I do not face any issue.</p>
  
  <p>But when I try to do the same in virtual desktop, I couldn't make it. I'm being populated with Windows Alert to key-in username &amp; password. I've tried using 'SendKeys' for this scenario, but it doesn't make sense.</p>
  
  <pre><code>....
  SendKeys "abc\ATX123",5
  SendKeys "Password1",5
  SendKeys "{ENTER}",5
  ....
  </code></pre>
  
  <p>This snippet is just passing 'ENTER' without entering ID &amp; Pwd. Can anyone suggest me some possible solution, please?</p>