title: How to save xlsm as xlsx?
body: <p>I have a xslm file. I want to save the file as xlsx and email.</p>
  <p>I am able to SaveCopyAs it as xls file. If I try to save it as xlsx, it does get saved but when I open it, it gives an error.</p>
  <pre><code>ActiveWorkbook.SaveCopyAs Filename:=ActiveWorkbook.Path &amp; &quot;\MyFileName - &quot; &amp; Format(Date, &quot;mm-dd-yyyy&quot;) &amp; &quot;.xlsx&quot;
  </code></pre>
  <blockquote>
  <p>Excel cannot open the file '...path\MyFileName.xlsx' because the file format or file extension is not valid. Verify that file has not been corrupted and that file extension matches the format of the file</p>
  </blockquote>