How to Restore Previous Version of Excel 2016 File? | Stellar
How to Repair Multiple Excel Files by Using Stellar
With Stellar Repair for Excel, it is quite easy and simple to repair multiple MS Excel (XLS and XLSX) files that are damaged. This is because the software has a self-explanatory interface and hence is a Do-it-yourself software. Nonetheless, when using this software to repair multiple Excel files, you would have to add all of the files into the software by following a few pre-defined steps. Follow the steps mentioned below:
- Launch Stellar Repair for Excel software.
- Under Home menu, click Select file
- Click Browse and select corrupt Excel files. Select the checkbox to repair multiple files.
- Click Repair
- The software provides the preview facility. You can check the it on left pane.
- Save the repired filr ether Default location or Select New Folder radio button.
Stellar Repair for Excel Stellar Repair for Excel is the best choice for repairing corrupt or damaged Excel (.XLS/.XLSX) files. This Excel recovery software restores everything from corrupt file to a new blank Excel file.
How to Fix the Unable to Record Macro Error in Excel?
Summary: You may encounter the “Unable to record macro” error in MS Excel when using Personal Macro Workbooks. In this post, we’ll discuss the possible causes behind this error and the ways to fix it. We’ll also mention a professional Excel repair tool that can help fix the error if it occurs due to corrupted workbook.
A personal macro workbook (Personal.xlsb file) is a hidden workbook in Excel that stores all macros in a single workbook. This allows you to automate processes while working in Excel. Sometimes, when recording macro codes in the personal macro workbook, you may get the message “Personal Macro Workbook in a startup folder must stay open for recording”. When you click on the OK button, it will show the “unable to record” error. This prevents you from recording the macros. Below, we’ll see the causes behind this error and discuss how to resolve this error.
Causes of Unable to Record Macro Error
You may be unable to record macros in Excel due to several reasons. Let’s take a look at the possible causes that can lead to this issue.
- The location of personal.xlsb file is changed.
- Personal.xlsb file is corrupted.
- Macros are disabled.
Methods to Fix the “Unable to Record Macro” Error in Excel
Here are some possible solutions that can help you resolve the unable to record macro error in Excel.
Method 1: Check the Path of XLStart Folder
You may be unable to record macros if the path of XLStart folder is incorrect. It is a folder where the Personal.xlsb file is stored by default. Follow these steps to find out the path of this folder:
- Open MS Excel. Go to File > Options.
- Click Trust Center > Trust Center Settings.
- In the Trust Center Settings window, click on Trusted Locations.
- Verify the path of the XLSTART folder and modify it if there is an issue.
- Once you are done, click on OK.
Method 2: Change Macro Security
The “Unable to record macro” error can occur if macros are disabled in the Macro Security settings. You can try changing the macro settings using the below steps:
- In MS Excel, go to File > Options > Trust Center.
- Under Trust Center, click on Trust Center Settings.
- Select “Enable all macros” and then click OK.
Method 3: Check Add-ins for Disabled Items
If there are any items in add-ins that are disabled, they may prevent Excel from functioning properly. You can check and enable the items in MS Excel using the below steps:
- Click File > Options.
- In Excel Options, click on the Add-ins option.
- Select Disabled Items from the Manage section and click on Go.
- The Disabled Items window is displayed.
- Click on the disabled item and then click Enable.
- Restart Excel for the changes to take place.
Method 4: Repair your Excel File
You may fail to record macros if there is corruption in the workbook. In such a case, you can use the “Open and Repair” utility in MS Excel to repair the corrupt workbook. To use this tool, follow these steps:
- Open your Excel application.
- Click File > Open.
- Browse to the location where the corrupted file is stored.
- In the Open dialog box, choose the corrupted workbook.
- From the Open dropdown list, click Open and Repair.
Excel will prompt you to repair the file or extract data from it. Click Repair to retrieve maximum data. If the Repair option fails, then click on the Extract Data option to recover the data without formulas and values.
If the Microsoft utility “Open and Repair” fails to repair the corrupted Excel workbook, then try a professional Excel repair tool such as Stellar Repair for Excel. It is an advanced tool that can easily repair severely corrupted Excel (XLSX and XLS) files. It can recover all the file items, including chart sheets, cell comments, tables, macros, formulas, etc. without impacting the properties and cell format of the Excel file.
Closure
You may receive the “unable to record” error in Excel while creating or storing macros in Personal Macro Workbooks. There are several reasons that can lead to this error. You can try the methods covered in this post to resolve the error. If the error appears due to corruption in workbook, then try to repair it using the Open and Repair utility. Alternatively, you can use Stellar Repair for Excel – a professional tool that can help you repair an Excel file with problematic macros. Also, it allows recovery of all the file components with complete integrity. The tool is compatible with Excel 2021, 2019, 2016, and older versions.
Recover Excel Files from Virus-Infected Pen Drives for Free
Summary: Imagine you lost your important Excel file on which you had been working since the morning and in the next moment you realized that the file was not saved and you just lost hours of work. Wondering how to deal with this situation? Read this blog to know how Stellar free data recovery software can help you.
From making annual reports to business growth representation figures, excel is a commonly used program for organizing data, creating pivot tables, charts etc. People from all walks of life, know the importance of Excel and the part it plays. Although it is a common file, there is a probability that you may accidentally delete excel files while working or are unable to access it due to unexpected errors. In addition, one of the major issues users face is to recover excel files from a virus infected pen drive.
Pen drives have made it possible to store and carry our important files such as excel, word document, photos, videos, etc. with us day in and day out. They just fit perfectly in our pockets and are compatible with almost every device; hence, they are widely used for transferring data from one system to another. But what if your pen drive is infected by a virus and due to it you end up losing your excel files, how will you recover your excel files for free?
A user reported that his pen drive got virus-infected and to remove the virus from it, he ran an antivirus program which removed the virus but also deleted excel files stored on it.
When your pen drive is infected by a virus, the first thing you ought to do is stop using it, even not for removing virus as an antivirus utility may remove your files as well. Further, if you have a backup, then you can recover your excel files from it, else you can use these free data recovery methods to recover your excel files.
1. Free File Recovery Software Approach
Stellar Windows Data Recovery – Free Edition is an easy to use tool to recover files from a virus-infected pen drive. The software is equipped with powerful utilities to recover lost and deleted files for free. Further, it supports a wide range of file systems and is efficient in recovering files such as Excel, emails, word files, photos, audio and video files.
Using Stellar Windows Data Recovery – Free Edition, you can recover your files from all storage devices for free. Here’s how the software works:
- From the website, download Stellar Windows Data Recovery – Free Edition. Connect your pen drive to your system and launch the software
- On ‘Select What to Recover’ screen, select file types from the given option that you wish to recover. For instance, if you want to recover photos, then under Multimedia Files, select ‘Photos’ and click on ‘Next’
- From ‘Select Location’ screen, select the connected pen drive and click ‘Scan’
- The scanning process starts and once the process is complete, software lists all the recoverable files
- Select the files from the list and click on ‘Recover’ to save the files
2. Restore Excel File from the Previous Version
If excel files are deleted from your pen drive or from your system; then you can recover them from the previous version. This feature works when Windows Backup option is enabled, else, it will not work.
Follow these steps to recover excel files:
- Connect your pen drive to your system, go to This PC and navigate to the folder of excel files
- Select the folder, right-click on it and select ‘Restore previous versions’
- From the available version of excel files, select the required one and click on ‘Restore’
3. Use Command Line to Recover Excel Files
The Command prompt should be your first choice to recover excel files from the virus-infected pen drive. Here’s how command prompt recovers your files:
- Connect your virus-infected pen drive to your system and then in the search box type ‘CMD’ and hit ‘Enter’
- In the command window, type in attrib –h-r-s /s/ drive letter:\*.*”, for example, “attrib -h -r -s /s /d G:\*.*” and hit ‘Enter’
- Windows starts repairing the virus-infected pen drive and once the process is complete, you can access your pen drive and recover excel files.
Even after following the above-mentioned steps you’re unable to recover your excel files, then try a Home approach i.e. a data recovery tool.
To Sum Up
It is always a good idea to create a backup of important files since no one can anticipate what might go wrong. The scenario presented in the blog paints a clear picture of how you can recover your Microsoft excel files for free from a virus-infected pen drive. For quick and better results, you can always go with Stellar Windows Data Recovery – Free Edition.
Resolve Compile Error in Hidden Module in Excel: Causes & Solutions
The hidden module in Excel refers to a container with VBA codes, custom queries, and complex macros. The compile error in a hidden (protected) module in the Excel worksheet usually occurs when doing different activities on a macro-enabled sheet, such as merging .xls files. The error can result in macros execution failure. You need to quickly resolve this compile error to restore full functionality of the VBA code. Below, we’ll be discussing the solutions to fix this Excel error. But before that, let’s see why this error occurs.
You may encounter the Compile error in hidden module due to one of the following reasons:
- The code in the workbook is not compatible with the Excel application.
- Manual queries created in a previous version are no longer compatible with your current version of Excel.
- Missing references.
- Invalid .exe files (control information cache files) are automatically created with ActiveX control insertion in Excel file.
- Protected module is corrupted.
- The workbook with hidden module is damaged or corrupted.
- Incompatible add-ins.
- Incompatible Excel file version.
- The module is protected or password-protected.
- Missing or corrupted mscomctl.ocx file.
Excel can throw the compile error while compiling the code that exists in the protected module. So, first check the error and identify the hidden module that is creating the issue. You can unprotect the module. Also, ensure that you have permission to access the VBA code in the module. If the error still exists, follow the below troubleshooting methods.
Method 1: Re-register ActiveX Control Files or mscomctl.ocx Files
You can get the compile error in the Excel file, containing the VBA code related to ActiveX controls or OCX files. The ActiveX control files and OCX files (mscomctl.ocx files) are the components of Microsoft’s standard controls library. The compile error in the hidden module can occur if these files are missing. In this case, you can use the Regsvr32 tool to re-register the OCX files. The Regsvr32 is a command-line utility to register and unregister OLE controls in the Windows registry.
Method 2: Delete .exd Files
The .exd files are temporary files created by Excel when inserting ActiveX controls objects. These temporary files can lead to a compile error if they are corrupted. So, if this issue has occurred, particularly in the Excel file containing ActiveX controls, then deleting .exd files might fix the issue. To delete the .exd file, follow the below steps:
- First, open the Run window by pressing the Windows+R keys.
- In the Run window, type %appdata%.
- In the Roaming window, click on the Microsoft option.
- Under Microsoft, you will see a list of folders. Search and click on Forms.
- Right-click on a file with .exd extension and select Delete.
- Once you delete the .exd files, restart your Excel application.
Method 3: Rollback the Office Updates
MS Office updates or upgrades may also cause the compile error in hidden module in Excel. If the error has occurred after downloading the recent Microsoft Office updates, try reverting to the previous version or uninstalling the recent updates to fix the issue.
Method 4: Unselect Missing References
The compile error in hidden module determine path in Excel can also occur if your file contains a reference to object library/type library, which is labelled as Missing. You can locate, check, and uncheck the references marked as ‘Missing’ to fix the issue. Here are the steps:
- Open your Excel and press Alt + F11 keys.
- The Visual Basic Editor is displayed.
- Go to the Tools option and then click References.
- In the References-VBAProject window, under Available References, search and unselect the references starting as “Missing”.
- Click OK.
Method 5: Check the Code in Module
The compile error in hidden module can occur if there are issues in the code within the module. The problems include incorrect or missing syntaxes, missing parameters/references, or the code contains incompatible functions or a wrong name of the object. You can check and fix these issues in the code by opening the VBA editor.
Method 6: Check and Remove Add-ins
In Excel, the compile error in macro-enabled files can also occur due to incompatible add-ins. You can check and disable the add-ins in Excel using the below steps:
- First, open the Run window and type excel /safe and then click OK. The Excel application will open in safe mode.
- Now try to open the affected Excel file. If it opens without the error, then check and remove the latest installed Excel add-ins.
- Navigate to the File option and then select Options.
- In the Excel Options window, click Add-ins.
- Under Add-ins, search and select the latest add-ins, and then click on Go.
- In the Add-ins window, uncheck the add-ins and then click OK.
- Restart Excel and then check if the error is fixed or not.
Method 7: Repair the Corrupt Excel File
Corruption in the Excel file can affect the macros in the hidden module, which may result in the compile error. In such a case, you can try repairing the Excel file using Microsoft’s inbuilt utility -Open and Repair. To use this tool, follow these steps:
- Open your Excel application.
- Click the File tab and then click Open.
- Click Browse to select the affected workbook.
- The Open dialog box will appear. Click on the corrupted file.
- Click the arrow next to the Open button and then Open and Repair.
- You will see a dialog box with three buttons - Repair, Extract Data, and Cancel.
- Click on the Repair button to recover as much of the data as possible.
- After repair, a message is displayed. Click Close.
What if None of the Above Solutions Works?
If the above methods fail to get rid of the “compile error in hidden module” in Excel, then use an Excel repair tool such as Stellar Repair for Excel. This tool is specifically designed to repair the corrupted Excel file. It can recover all the components from corrupted Excel file (macros, queries, formulas, etc.) without changing their original formatting. The tool is compatible with all Excel versions and can be downloaded on a Windows system. You can download the free trial version of Stellar Repair for Excel to scan the corrupted Excel file and preview the data.
Closure
You can get the “compile error in hidden module” when Excel detects any issue while compiling the code in a protected module. It can occur when there is an issue with the macro-enabled Excel workbook or Excel add-ins. You can follow the above-mentioned methods to fix the issue. If the error occurs due to corruption in the database file, then you can try Stellar Repair for Excel . It can repair severely corrupted Excel files. It also helps recover all the Excel workbook’s components, including macros and queries. The tool has a simple and user-friendly interface.
Solutions to open Excel Read Only Documents
‘Excel cannot open read-only documents’ is an error message that usually appears when you try to open an Excel (XLS or XLSX) file downloaded from the Internet, email, or the network server. It may also appear when you try to open an encrypted or password-protected Excel document. In such a case, MS Excel prevents the user from making any changes to the document.
Reasons behind the “Excel cannot access ‘xxx.xls.’ The Document may be read-only or encrypted” Error
There could be several reasons that may cause the error. Some of them are as follows:
- Corrupt or damaged Excel workbook
- Incompatible or unsupported add-in
- Antivirus or malware software conflict
- Read-Only Excel file
- The file is encrypted
- File or drive read/write permissions issues
- Protected Excel workbook
- Damaged or missing MS Office (MS Excel) program files
Solutions to Open and Edit Read-Only Excel Documents
Below are a few solutions that can help you fix the ‘Excel cannot access ‘xxx.xls.’ The Document may be read-only or encrypted’ error and allow you to open and edit Excel documents.
- Remove Read-only Attribute from Excel File Properties
The ‘Excel cannot open read-only documents’ error message may appear when the Excel file property is set to read-only. To check if this is the case, follow these steps:
- Right-click on the particular Excel (xls/xlsx) document and select ‘Properties’.
- Uncheck the ‘Read-only’ attribute and then click the ‘OK’ button.
Now try to open the Excel document and check if the problem is fixed.
- Adjust Antivirus Settings
A few antivirus programs block Excel files and other Office documents by opening those in ‘read-only’ mode. In such cases, try adjusting the antivirus settings to open the Excel files normally. This will allow you to edit, modify, and save the Excel workbook without encountering the “Excel cannot access ‘xxx.xls.’ The Document may be a read-only or encrypted” error message.
- Disable Protected-View
The error may appear when you try to open an Excel file received as email attachments or downloaded from unsafe source. The file may potentially contain viruses, worms, or other types of malware that could damage the system or the server.
To safeguard the system, MS Excel opens such files in Protected View. It may also open an Excel workbook in Protected Mode when it detects a problem with the file. This security feature allows you to read or view Excel files and reduces the risks to the computer system or PC.
However, you can click File > Info and then click ‘Edit Anyway‘ to access and edit file content. You may also disable the Protected View setting via File > Options > Trust Center > Trust Center Settings…> Protected View. However, we do not recommend this.
- Renew/Activate Microsoft Office
If MS Office is in a deactivated state or its subscription has expired, the Office documents, including the Excel, could be in ‘read-only reduced functionality mode.’
In such a scenario, activate Microsoft Office or renew the Office subscription. Then open the Excel workbook and check if the problem of ‘Excel cannot open read-only documents’ is resolved.
- Check if OneDrive Storage is Full
If Excel files are saved on OneDrive with low or no storage space, you may encounter such issues with your files.
To know the amount of free space on OneDrive, follow these steps:
- On your PC, open Settings and navigate to OneDrive.
- Click ‘Sync Settings > File Storage‘ to see available space.
You may also visit onedrive.live.com, sign in to the account, and then check the available space. If there’s no space available or the drive is full, empty the storage space and see if the problem is resolved.
- Check and Update MS Office and Windows
Microsoft releases updates to fix known errors. Thus, it is critical to update both Windows and MS Office to the latest release and avoid issues, such as ‘Excel cannot access ‘xxx.xls.’ The Document may be read-only or encrypted.’
- Repair MS Office (MS Excel)
The error ‘Excel cannot open read-only documents’ may appear due to a problem with your MS Office (MS Excel) program. You can repair the MS Office program to resolve such errors. The steps are as follows:
- Open Control Panel and click Uninstall a Program link under Programs.
- Choose Microsoft Office from the list and click the Change button.
- Select Quick Repair and then click Repair to fix problems with MS Office and MS Excel. It will also restore any missing or damaged program files.
After the Repair, open the Excel workbook and check if the error is resolved.
- Check Permissions
The error message may also appear if you access an Excel workbook from a network or shared drive due to lack of write permission. Make sure you have read and write permissions assigned for the particular network drive. Alternatively, you can copy the file from the network drive and save it in your local folder to access and edit it without encountering this error message.
- Repair MS Excel File
If none of the solutions worked, the Excel workbook could be damaged or corrupt. To repair such damaged Excel workbook or spreadsheet, you can use the inbuilt ‘Open and Repair…’ option in MS Excel or install an Excel repair software , such as Stellar Repair for Excel. The software comes in handy when the Open and Repair option fails to fix the Excel workbook problems. It repairs the corrupt or damaged Excel workbook, extracts all components and content from the file with 100% integrity, and saves them in a new Excel workbook.
Conclusion
Sometimes, the ‘Excel cannot open read-only documents’ error can be resolved by a simple restart. But if it doesn’t work, you can follow the solutions discussed in this article to resolve the ‘Excel cannot open read-only documents’ issue. However, if the issue is caused due to a damaged or corrupt Excel workbook, these methods may not work. In such a case, you can use Excel’s inbuilt repair utility, i.e., Open and Repair, or install Stellar Repair for Excel software recommended by MVPs and industry experts to fix all kinds of problems with MS Excel workbooks.
Repair Files using Stellar Toolkit for File Repair
Stellar Toolkit for File Repair Technician
The main interface of Stellar Toolkit for File Repair comprises four modules to repair MS Office and PDF files. These modules are:
- Repair Document
- Repair Spreadsheet
- Repair PowerPoint
- Repair PDF
Click on the desired tab to repair that file format.
Figure 1 - Illustrates Homepage of the Stellar Toolkit for File Repair
Steps to Repair MS Word – .doc/.docx file
- Click Select File to select a single corrupt Word (.doc/.docx) file that you want to repair. Alternately, click Select Folder for selecting all Word files in a single folder.
Note: Click Find file(s) to search for the Word file, if the location is not known.
Figure 2 - Illustrates Selection of single doc/.docx file or multiple files
- Once the file is selected, click the Scan button to scan and repair the file.
- A preview of the repaired Word file is displayed on the screen. Verify the file contents from the right pane of the preview window.
Figure 3 - Preview of Repaired Word Document
Note: If you’re unable to repair a corrupt .doc file, select ‘Advance Repair’ option from the File menu for repairing the .doc files.
- Click the Save icon on the File menu to save the repaired file.
Figure 4 - File Menu
In Save Document dialog box that appears, do the following:
Select default location or a new folder to save the repaired file.
Save the file in any of these formats: ‘Full Document’, ‘Filtered Text’ or ‘Raw Text’.
Click OK.
Figure 5 - Word Document Saving Options
The repaired file will be saved at your preferred location.
Steps to Repair Excel – .xls/.xlsx files
- In Select File window, click Browse to select the corrupt Excel file from the desired location. If you do not know the file location, click Search to find and select the corrupted spreadsheet.
- Once the Excel file is selected, start repairing the file by clicking the Repair button.
Figure 6 - Illustrates selection of one xls/xlsx file or multiple files in a folder
- After completion of the repair process, the software displays the repaired Excel file and its recoverable data in a preview window.
Figure 7 - Preview of Excel File
- Click on Save File icon on Home menu to save the repaired file.
- In Save File dialog box, choose Default location or Select New Folder for saving the file.
Figure 8 - Select Destination to Save Repaired Excel File
- Click OK to proceed with the saving process.
The repaired file gets saved at the preferred location.
Note: To recover the Engineering formulae, include ‘Analysis ToolPak’ Add-in.
Steps to Repair PowerPoint – ppt/pptx/pptm file
- Click Browse to select the corrupt PowerPoint file. Alternately, click on Search to search for the file, if the location is not known.
Figure 9 - Illustrates Selection of Single PowerPoint Presentation
- Once the corrupt PowerPoint file is selected, click Scan for scanning and repairing the file.
- A preview of scanned file gets displayed. Verify the file contents from the preview window.
- Click Save on Home menu to save the repaired PPT file.
- From the Save File dialog box, click Default location or Other location under Save As for saving the file.
Figure 10 - Select Location to Save PPT File
- Click on the OK button and the repaired file is saved at preferred location.
Steps to Repair PDF file
- From the Stellar Repair for PDF main interface window, click Add File to select a single or multiple PDF files you want to repair.
Parental Control Software
![Adding corrupt pdf files](https://www.stellarinfo.com/screenshots/pdf-repair/1-Stellar-Phoenix-Repair-for-PDF-main-screen.jpg)Figure 11 - Illustrates adding of corrupt PDF Files
- A screen with recently added PDF file is displayed. Select the file and click Repair to start repairing it.
Figure 12 - Repair the Selected PDF File
- A screen showing the progress of the repair process appears.
- When the ‘Repair Complete’ window pops-up, click OK.
- Preview the repaired PDF file.
- Click the Save Repaired Files button to save the repaired file.
Figure 13 - Save Repaired File
- In Browse for Folder dialog box, select a folder for saving the file.
- From the Saving Complete dialog box, click the hyperlink to the folder containing the repaired PDF file.
Figure 14 - Saving Complete Window
- Click OK.
How to Repair Corrupted or Damaged Excel File with Ease?
Summary: The Excel file is prone to corruption. Users can face several issues related to corruption. So here in this infographic, I am discussing a professional tool,- Stellar Repair for Excel, to easily repair corrupted Excel files.
Stellar Repair for Excel is among the top choices for repairing corrupt or damaged Excel (.XLS/.XLSX) files. This Excel recovery software restores everything from the corrupt file to a new blank Excel file. Incoming, the information graphics complete overview of the repair process is explained in step-by-step methodology. Explore and reap the benefits of recovering corrupt or damaged Excel files.
Very much sure about the result of using the excel file recovery tool, share your experience with us.
- Title: How to Restore Previous Version of Excel 2016 File? | Stellar
- Author: Nova
- Created at : 2024-08-20 18:19:09
- Updated at : 2024-08-21 18:19:09
- Link: https://blog-min.techidaily.com/how-to-restore-previous-version-of-excel-2016-file-stellar-by-stellar-guide/
- License: This work is licensed under CC BY-NC-SA 4.0.