title: "ThisWorkbook.Close" Causes excel to crash
body: <p>I have a large collection of excel files that work almost like a program, and they run on multiple computers (with different versions of windows), and as of latelly I have this <strong><em>bad</em></strong> problem, when the user presses <strong><em>my close button</em></strong>(actually a picture I associate a macro with), with the code calls:</p>
  
  <pre><code>ThisWorkbook.Close savechanges:=True
  </code></pre>
  
  <p>It causes 2 of the 4 supported computers to crach EXCEL (Windows XP = OK, Windows 10 = OK 1 BAD OTHER, Windows 8 = BAD).</p>
  
  <p><a href="https://i.stack.imgur.com/CzoKJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CzoKJ.png" alt="enter image description here"></a>  </p>
  
  <p>I have isolated the incident to this particular line of code (made a 1 sheet excel file with just a close button, and it still crashes)
  I have noted that if the excel file isn't the only one open, sometimes it doesn't crash (maybe the problem is with closing excel itself)</p>
  
  <p>What I have done is separeted the 2 statements so if (when) it crashes it's already saved:</p>
  
  <pre><code>ThisWorkbook.Save
  ThisWorkbook.Close
  </code></pre>
  
  <p>Can anyone shed some lights? I'm really lost. I tried all the alternatives I could think off (activeworkbook...)</p>
  
  <p><strong>Tl;dr:</strong> <em>"ThisWorkbook.Close"</em> Causes excel to crash</p>