title: Run Sub before macro Ends like Finally block
body: <p>Is there some VBA best practice to use something like 'before end' subroutines?</p>
  
  <p>I am changing Excel's default configs when my macro starts, and before my macro reaches its 'end sub' line I am resetting the configs to its standards.
  But what if some error occurs? Am I supposed to define 'On Error' treatment inside all subs to reset the configs to the standard properties?</p>
  
  <p>Just for example, I am changing configs such as:</p>
  
  <pre><code>ScreenUpdating
  DisplayStatusBar
  Calculation
  DisplayAlerts
  </code></pre>