title: VBA Do Until Loop with Or "" condition
body: <pre><code> Do Until Sheets("Sheet1").Cells(x, y).Value = stringOne Or ""
  
          x = x + 1
  
   Loop
  </code></pre>
  
  <p>In the above VBA code slice, I get a Run-time error '13': Type mismatch. stringOne is declared a String. I can eliminate Or "" and the loop works. I can eliminate stringOne and only have "" and the loop works. Only when I add the Or "" does the loop stop functioning. I've even swapped order, i.e, = "" Or stringOne. Any thoughts?</p>