title: Excel VBA: Auto-changing my line breaks in odd way? Should I be placing these differently?
body: <p>Excel VBA, Office 2016.  I have a few long lines of code and I'd like to break them up before or after the Or/And operators.  However, when I do this VBA moves them to weird places after I move off of the line.  (I apologize if I'm doing this wrong or if it is stupid question, new to coding and to stack)</p>
  
  <p>Here is what I enter:</p>
  
  <pre><code>Sub testhere()
  If [Table1].Cells(1, [Table1[Referral Type]].Column).Value = "T" Or _
     [Table1].Cells(1, [Table1[Referral Type]].Column).Value = "TE" Then
          MsgBox ("OK")
  </code></pre>
  
  <p>Here is what Excel VBA changes it to: </p>
  
  <pre><code>Sub testhere()
  If [Table1].Cells(1, [Table1[Referral Type]].Column).Value = "T" Or [Table1 _
     ].Cells(1, [Table1[Referral Type]].Column).Value = "TE" Then
      MsgBox ("OK")
  </code></pre>
  
  <p>That seems like such an odd place to put the line continuation.  Anyone know how to avoid this?</p>