title: Excel 2013 code generates "Path not found" error in Excel 365
body: <p>I have VBA code from Excel 2013 that used to work.</p>
  
  <pre><code>ActiveWorkbook.Sheets("Template").Copy After:=ActiveWorkbook.Sheets(Sheets.Count)
  </code></pre>
  
  <p>I changed to a computer with Excel 365 installed.</p>
  
  <p>I will get the errors:</p>
  
  <blockquote>
    <p>Path not found: '\VBA3CD.tmp'
    400</p>
  </blockquote>
  
  <p>The VBA3CD.tmp filename will differ every time. I've already "enable all macros" in Excel's security settings.</p>
  
  <p>I've tried different varieties of the same thing, for example:</p>
  
  <pre><code>Set wsTemplate = Sheets("Template")
  wsTemplate.Copy After:=Sheets(Sheets.Count)
  </code></pre>
  
  <p>Getting the same "Path not found" error.</p>