title: vbScript - Do While Not "Or"
body: <p>I know I had this working somehow yesterday but end of the day I mistakenly closed the changes without saving. Today I don't know what I'm doing wrong. I have a loop with InputBox and only want to accept 2 potential answers, in this case apple or orange should exit the loop.</p>
  
  <pre><code>    Do
      myValue = InputBox("Enter something")
      Loop While Not myValue = "apple" Or myValue = "orange"
  </code></pre>
  
  <p>The above will only exit the loop if the first value is entered but not the second. If I add a "Not" for the second value as well like the following, then it doesnt exit the loop regardless of what I type.</p>
  
  <pre><code>    Do
      myValue = InputBox("Enter something")
      Loop While Not myValue = "apple" Or Not myValue = "orange"
  </code></pre>
  
  <p>I know this is has to be something obvious but I think I've looked at this same code too long to see it. Thanks for any assistance.</p>