title: Microsoft Access WebBrowser Control
body: <p>Ok, I have a WebBrowser control in Microsoft Access, I want to load a page into the control and fill in textbox values, and return the values of labels as variables.</p>
  
  <p>Before anyone says it, I already have the project done in C#, but the client wants it in Access.</p>
  
  <p>My code to load the webpage is below:</p>
  
  <pre><code>Dim strURL As String
  Dim objIE As Object
  
  strURL = "https://mywepage.com"
  Set objIE = Me.WebBrowser2.Object
  objIE.Navigate strURL
  </code></pre>
  
  <p>In C#, I fill in TextBox values with the following code:</p>
  
  <pre><code>webBrowser1.Document.GetElementById("ITEMID").SetAttribute("value", id);
  </code></pre>
  
  <p>How do I replicate this in VBA?</p>