title: How do I get back my original file after performing all the Operations on the excel file using VBA?
body: <p>Can Anyone tell me how do I undo all my changes to my workbook?
  I have file excel1.xlsx and I have did sorting and many operations on the excel.xlsx using vba. But at the end I want the excel1.xlsx to be the same which was at the start. How do i Undo all my changes using vba?</p>
  
  <pre><code> activeworkbook.saved = True
  </code></pre>
  
  <p>I have found that it retains back all the contents as at the begginning but its not working.So is there any command where i can get back my original file after performing operations over it. Well yes </p>
  
  <pre><code>              wb1.Sheets(1).Activate
                ActiveWorkbook.Close savechanges:=False
  </code></pre>
  
  <p>It works but I dont want my workbooks to be closed it should be still opened. How do I make it? Thanks in advance.</p>