title: VBA Debug Print producing unexpected and seemingly random output
body: <p>Can anyone shed some light on this.  In MS Word VBA I have a trivial Sub that produces rather unexpected results. [Edit: this issue has been reproduced on several different installations of MS Word but so far only Win10]</p>
  
  <p>Repro Environments: </p>
  
  <ul>
  <li>Win10, Word 2010 (32-bit) PC</li>
  <li>Win10, Word 2010 (32-bit) VM-Azure</li>
  <li>Win10, Word 2016 (32-bit) PC</li>
  <li>Win10, Word 2010 (64-bit) VM-Azure</li>
  <li>Win10, Word 2016 365 @VincentG</li>
  <li>Win10, Word 2007 (32 bit) @Ambie</li>
  <li>Win10(64), Word XP @ThunderFrame</li>
  <li>Win10(64), Excel XP @ThunderFrame</li>
  <li>Win8.1(64), Word 2013 @miroxlav    (first repro outside of Win10)</li>
  <li>Win8.1(64), Office 2016 (32) @GSerg</li>
  <li>Win10(64), Word 2007 (x86) @PartricK</li>
  <li>Win10(64), Excel 2007 (x86) @PartricK</li>
  </ul>
  
  <p>But no repro in:</p>
  
  <ul>
  <li>Win7 (64), Word 2007 (32-bit) VM Azure</li>
  <li>Win7 (64), Word 2010 (32?) @JohnColeman</li>
  <li>Win7 (64), Word 2007 (32) @Slai</li>
  <li>Win7 (64), Word 2003 (32) @GSerg</li>
  <li>WinXP (32), Word 2010 (32) @GSerg</li>
  <li>Win7 (64), Office 2010 (32)</li>
  </ul>
  
  <p>Steps to reproduce:
  Open new Word document
  Open IDE (Alt + F11)
  Enter this code</p>
  
  <pre><code>Option Explicit
  
  Sub test()
  Dim i As Integer
  For i = 1 To 100
  Debug.Print vbCr
  Next
  End Sub
  </code></pre>
  
  <p>Run the test Sub.</p>
  
  <p>My output varies each time the loop is run:</p>
  
  <pre><code>]Œ[p^"î;{Ñ[
  
  ]Œ[p^"î;{Ñ[
  
  \ÒZžUÖè;qÑZ
  </code></pre>
  
  <p>or </p>
  
  <pre><code>ÿÿ
  
  þþ@øø”¶(3
  
  ÿÿ
  </code></pre>
  
  <p>or </p>
  
  <pre><code>&gt;O
  
  &gt;O
  
  &gt;O
  </code></pre>
  
  <p>or</p>
  
  <pre><code>p
  
  G   P‚j Ž¶&amp;3@
  
  p
  </code></pre>
  
  <p>Originally I thought I could recognize some content from my document, but now I get similar results for a blank document with nothing else open in Word. </p>
  
  <p>It was quite disconcerting until I reproduced in the other Word installations, now its more of a distraction &amp; puzzlement.  </p>
  
  <p>Any ideas about what's going on?</p>