title: How to update Chromedriver in Windows 7 for using selenium in VBA
body: <p>After I updated my chrome I got the &quot;SessionNotCreatedError&quot; error due to outdated Chromedriver. (My Current Chrome version is 95 and my Chromedriver is 92.xx)</p>
  <pre><code>Private Sub CommandButton1_Click()
  
  Dim Driver As New WebDriver
  
  Driver.Start &quot;Chrome&quot;, &quot;www.google.com&quot; '(Line which drops an error)
  
  end sub
  </code></pre>
  <p>I have searched for how to update chromedriver on Windows 7 and tested these methods but non of them worked:</p>
  <p>1-I have downloaded the appropriate Chromiumdriver version which matches with my current Chrome version (which is 95) and copied it in &quot;C:&quot; path.</p>
  <p>2-I have installed Chromedriver by &quot;npm install -g chromedriver&quot; command in CMD</p>
  <p>3-I have added new &quot;chromedriver.exe&quot; path to the windows system PATH variable.</p>