Trying to restore previous version of an excel file

jumbo99

New Member
Joined
Sep 16, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I need to restore a previous version of a excel file to recover VBA code that's gone missing. I have tried to use the route, File, Info, Version history and can see many previous versions to restore. However, when I try to restore i get an error message: "There are unsaved changes in the current version of this file. Please save the current version before restoring a previous version".

I have tried but I still get the same error. Has anyone any ideas how to restore to an earlier version?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
HI jumbo99. I suspect that if you open the task manager there will be an orphaned XL process running that you will need to end (Select the Excel process and then select End Process). Also, from an XL wb, if you go File, then Open, on the bottom right beneath available files there is a Recover Unsaved Workbooks button... maybe it will be useful after ending the process in the task manager. If that doesn't work, there is a registry route to remove resiliency items that may help. Check the task manager and Recover button things first. HTH. Dave
 
Upvote 0
HI jumbo99. I suspect that if you open the task manager there will be an orphaned XL process running that you will need to end (Select the Excel process and then select End Process). Also, from an XL wb, if you go File, then Open, on the bottom right beneath available files there is a Recover Unsaved Workbooks button... maybe it will be useful after ending the process in the task manager. If that doesn't work, there is a registry route to remove resiliency items that may help. Check the task manager and Recover button things first. HTH. Dave
Many thanks, Dave. That has sorted it out and I have recovered a previous version so I can get access to my VBA code.

Regards,
 
Upvote 0

Forum statistics

Threads
1,223,628
Messages
6,173,429
Members
452,514
Latest member
cjkelly15

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top