title: VBA Excel put cell value in web form
body: <p>In the following Code i am trying to put the value in the cell A1 (which is an address in the upload window) that popup; is there a way to put the value in the cell A1 in sheet1 (in the file name textbox) and then press ok , by simulating that in VBA , i thought about sendkeys but its not working</p>
  
  <p>here is my current code:
  I am referencing 2 libraries : 
  Microsoft HTML Object Library
  Microsoft Internet Controls</p>
  
  <pre><code>    Sub GetBase64()
  
  Dim ie As New InternetExplorer
  Dim doc As HTMLDocument
  ie.Visible = True
  ie.navigate ("http://webcodertools.com/imagetobase64converter/Create")
  Do While ie.Busy
    Application.Wait DateAdd("s", 1, Now)
  Loop
  
  Do
  DoEvents
  Loop Until ie.readyState = READYSTATE_COMPLETE
  
  Set doc = ie.document
  
  doc.getElementById("file").Click
  
  End Sub
  </code></pre>
  
  <p>Thanks for your help</p>