title: Set slide to older state with a reset button
body: <p>The question: How to go about storing a PowerPoint slide in VBA such that when the reset button is hit the slide will go back to its original state?</p>
  
  <p>What I have tried:</p>
  
  <pre><code>Public default_state As Slide
  
  Sub abc()
  default_state = ActivePresentation.Slides(1)
  ...
  wonderful code
  ...
  End Sub
  
  Sub xyz()
  ActivePresentation.Slides(1) = default_state
  End Sub
  </code></pre>
  
  <p>Here the xyz sub is run when the reset button is pressed. I learned rather quickly that the contained assignment is not supported.</p>