title: Excel VBA using Selenium
body: <p>I am om Windows 10.
  I am trying to use Selenium to automate the Edge browser (or any other browser) via Excel VBA.</p>
  
  <p>I went to <a href="https://www.selenium.dev/downloads/" rel="noreferrer">https://www.selenium.dev/downloads/</a></p>
  
  <p>There I downloaded 
  Selenium Server, Latest stable version 3.141.59 
  and
  Python 3.141.0  November 01, 2018   4.0.0a6.post1   May 28, 2020    Download
  (I am not using Python but I thought I might in the future.)</p>
  
  <p>Then I opened Excel VBA and opened Tools but could not find the “Selenium Type Library” option in the drop down.</p>
  
  <p>I did more reading and I downloaded SeleniumBasic at
  <a href="https://github.com/florentbr/SeleniumBasic/releases/tag/v2.0.9.0" rel="noreferrer">https://github.com/florentbr/SeleniumBasic/releases/tag/v2.0.9.0</a></p>
  
  <p>This made the option “Selenium Type Library” appear on the Tools dropdown.</p>
  
  <p>I selected the “Selenium Type Library” option.</p>
  
  <p>I entered this code in the VBA editor, which I got off the web. It opens Chrome (could not find the syntax to open Edge).</p>
  
  <pre><code>Sub test2()
  
      Dim driver As New WebDriver
      Dim rowc, cc, columnC As Integer
      driver.Start "Chrome"
      Application.Wait Now + TimeValue("00:00:20")
  
  End Sub
  </code></pre>
  
  <p>It failed. It bombed out on the line: </p>
  
  <pre><code>driver.Start "Chrome"
  </code></pre>
  
  <p>It gave an error: "Exception from unknown error"</p>
  
  <p>I am totally lost on what to do. Help! </p>
  
  <p>It would be greatly appreciated!</p>