title: Disable Excel save option but allow macro save
body: <p>I'm creating an excel file and I want to disable the 'save' and 'save as...' option.</p>
  
  <p>I found a lot of solutions on the internet, like this one in VBA:</p>
  
  <pre><code>Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
       MsgBox "You can't save this workbook!"
       Cancel = True
  End Sub
  </code></pre>
  
  <p>It prevents user from saving changes, but I can't save my changes and that's the problem because I need to do more changes in the VBA code.</p>
  
  <p>Is there a way to save my macro changes ? Like an administrator mode etc... ?</p>
  
  <p>Thank you for your future answers.</p>