title: how to insert a value in a html space box by vba
body: <p>I am trying to insert a specific value at 3 differents space boxes. However, I did not find a example that works with the site which I am using.</p>
  
  <p>Site: <a href="http://www.b3.com.br/pt_br/market-data-e-indices/indices/indices-de-segmentos-e-setoriais/serie-historica-do-di.htm" rel="nofollow noreferrer">http://www.b3.com.br/pt_br/market-data-e-indices/indices/indices-de-segmentos-e-setoriais/serie-historica-do-di.htm</a></p>
  
  <pre><code>Sub Download()
  
  Dim user, password As Variant
  
  Application.ScreenUpdating = False
  
  'Planilha Ativa
  Worksheets("Realizado").Activate
  
  'Abrir a página da BMF
  Set ie = CreateObject("InternetExplorer.Application")
      ie.navigate "http://www.b3.com.br/pt_br/market-data-e-indices/indices/indices-de-segmentos-e-setoriais/serie-historica-do-di.htm"
      ie.Visible = True
  
  ie.Document.all.Item("DT_DIA_DE").Value = "02"
  ie.Document.all.Item("DT_MES_DE").Value = "01"
  ie.Document.all.Item("DT_ANO_DE").Value = "2019"
  
  Application.ScreenUpdating = True
  
  
  End Sub
  </code></pre>