title: VBA Code fill cells with increment of 0.1
body: <p>I want to fill column A with values starting from 0 up to the value set in range("b1") with 0.1 increments. I have the code below but when I run it, it doesn't stop on the value that I set on range("b1"). Help?</p>
  
  <pre><code>Dim x As Double
  
  Do
  
       x = x + 0.1
  
       Range("A" &amp; Rows.count).End(xlUp).Offset(1).Value = x
  
  Loop Until x = Range("b1").Value
  </code></pre>