title: Getting a .xlsm file to not execute code when being opened with VBA
body: <p>I have a macro in Excel. Part of that macro opens up other workbooks using <code>Workbooks.Open(Filepath)</code>.</p>
  <p>Some of the workbooks I'm opening have (badly done) VBA code inside of them, that try to then calculate a UDF and fail horribly.</p>
  <p>Without resorting to an <code>On Error Resume Next</code> or an <code>On Error GoTo</code>, how do I say &quot;Open this file, DO NOT RUN ANY CODE&quot;.</p>
  <p>Trying to avoid letting the code execute in the first place due to possible security concerns. I feel comfortable enough opening these files, and there's a decent chance that they're not going to be compromised, but breaches can happen, and why have a hole when I don't need one? I also don't want error messages interrupting my code executing.</p>
  <p>Searching the web just shows me shift+open opens the file without executing code, which is not at all what I'm looking to do. I'm looking for the equivalent VBA method.</p>