title: VBA If Not Or Statenent
body: <p>I have <code>If Not</code> statement with 2 <code>or</code> but the code runs still like it is regular <code>If</code> statement. Moncol is an integer variable that equales 13 and the if statement should go to End If, and it is not. This code should delete columns just when <code>Moncol</code> not equals 12 or 13 or 14.</p>
  
  <pre><code>With NewPayWS
      If Not MonCol = 12 Or Not MonCol = 13 Or Not MonCol = 14 Then
          .Range(.Cells(1, lastcol - 1), .Cells(1, MonCol + 1)).EntireColumn.Delete
          .Range(.Cells(1, DataType + 1), .Cells(1, MonCol - 4)).EntireColumn.Delete
      End If
  End With
  </code></pre>