Repair Office 2021 Files (Word, Excel and PowerPoint)on Windows | Stellar
Repair Office 2016 Files (Word, Excel and PowerPoint)on Windows
If you frequently work with Microsoft Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files, then issues like file inaccessibility or corruption won’t be new to you.
Let’s discuss some common scenarios which may lead to corrupt MS Office 2016 files:
Scenarios behind Microsoft Office Files Corruption
Scenario 1 – Disruption during Data Migration
You decide to move Office files from your hard drive to other removable media. However, when you try to access the data within the files post-migration, you may find Word, Excel, and PowerPoint files showing gibberish characters. Due to a power surge, sudden system shutdown, and internal mechanical failure, the files may have turned corrupt.
Figure 1- Microsoft Word file showing garbage characters
Scenario 2 – Office Files and Registry Entries Become Infected
When you open or use the Microsoft Office application, it crashes as soon as it opens. You assume that an add-in was causing the problem and restart the Office application without add-ins loaded, but the application still crashes. This may happen because of a virus infecting the Office files and registry values, thus leading to corrupt or damaged Office files.
Scenario 3 – Inaccessible or Lost Data
Suppose all your Office files are stored on a USB device, and you unplugged the device while it was still open in Windows. Now, when you attempt to open a Word or an Excel file, all the data is gone. Unsafe removal of USB or any other external storage device may corrupt the data inside your Office files or turn the file inaccessible.
How Can You Deal with Microsoft Office Files Corruption?
Here are a few solutions that can help you fix or repair Office 2016 Files Corruption:
Solution 1 – Use Microsoft in-built Repair Utility
Microsoft recommends using its in-built repair utility, ‘Open and Repair’, to fix corrupt Office files. Follow these steps to understand how you can use the utility to repair the corrupt Word, Excel, and PowerPoint files:
- Launch the MS Office application whose file you want to repair:
- To repair corrupt Word (.doc, .docx) files, launch MS Word
- To repair corrupt Excel files (.xls, .xlsx) files, launch MS Excel
- To repair corrupt PowerPoint (.ppt, .pptx) files, launch MS PowerPoint
- Click File, and then click the Open tab.
- Click Navigate to the location or folder where the Word, Excel, or PowerPoint file is stored.
- Select the corrupt file you want to repair by single-clicking on it, and then find the Open button and click on the drop-down menu next to it.
- From the drop-down menu, click the Open and Repair option and follow the subsequent instructions to repair Office 2016 files.
Solution 2 – Repair Office 2016 Installation
Try repairing the Office installation to fix the MS Office files. The steps to repair your Office installation may vary depending on the operating system you are using.
For Windows 7
- Open your PC’s control panel
- Click Programs
- Click Programs and Features, and then click Uninstall a program option
- Right-click on the Office application you want to repair, and then click Change
- Under Change your installation of Microsoft Office Professional Plus 2016, choose Repair and then click Continue.
For Windows 10
- Right-click the Start button, and type in Apps & Features (For Windows 10)
NOTE: This step will work for Windows 10/8/8.1/7 and Vista
- Click Programs from the window that opens, click on the MS Office product you want to repair, and then click on Modify
Note: Following the step will repair the entire Microsoft Office suite even if it contains only one application you want to repair such as an Excel or PowerPoint file. But, in case you have a standalone app installed, try to locate that application by name.
- Under Change your installation of Microsoft Office Professional Plus 2016, choose Repair, and then click Continue to initiate the repair process.
- Once the repair process completes, you’ll be prompted to restart your PC. Click Yes
Solution 3 – Use Stellar Toolkit for File Repair
Repair MS Office 2016 files by using Stellar Toolkit for File Repair . This software comprises four essential utilities that can help you repair corrupt MS Word, MS Excel, MS PowerPoint, and PDF files.
The toolkit helps repair corrupt Office 2016 and other version documents and files while maintaining the original file format, which is less likely achievable with inbuilt methods. Follow these steps to repair MS Office 2016 documents by using the Office file repair tool:
- Download and install Stellar Toolkit for File Repair.
- Launch the software.
- From the software’s main interface, select the MS Office file you want to repair.
- From the window that pops up, select the corrupted file to be repaired.
Note: If you don’t know the exact location of corrupt office files or if they are large in number, you can locate the files by using the Find/Search option included in the software.
- After selecting the file, click the Scan button to initiate the repairing process.
- Once the scanning process is complete, all the recoverable information is displayed in the software’s left-hand panel. Click on any item to preview it before recovery.
- To save the repaired data, click the Save button, and enter a destination of your choice.
- Click OK.
Conclusion
This post outlined possible scenarios and their causes that may lead to corruption in MS Office 2016 files. It also emphasized how the inbuilt methods such as Open and Repair, and Repair Office Installation help to resolve the corruption issues. But these are not competent enough to resolve all the errors. With Stellar Toolkit for File Repair, you can resolve all sorts of corruption issues and recover data of Office 2016 files – Excel, Word, PPT, and PDF – in their original state.
How to Repair Corrupt Pivot Table of MS Excel File?
Summary: If you are not able to perform any action on the Pivot Table of MS Excel file, it indicates Excel Pivot Table corruption. In such a case, you must repair the corrupt Pivot Table of MS Excel file by using an Excel repair software or manual troubleshooting steps discussed in this post.
MS Excel is equipped with several brilliant features and functions which make working with large volumes of data easy. In addition to helping users save data into well-organized cells and tables, the application helps users draw inferences from the data. Pivot Table is one such Excel feature that helps users extract the gist from a large number of rowed data. But often, the Pivot table may get corrupted and lead to unexpected errors or data loss.
Corrupt Pivot Tables can stop users from reopening previously saved Excel workbooks, raising the serious issue of data inaccessibility. Resolving such issues is an uphill task unless one gets to the actual root cause of the problem.
However, with Stellar Repair for Excel software, you can repair the corrupt Pivot table of MS Excel file while keeping the Excel file data, formatting, layout, etc. intact.
Excel Pivot Tables & Associated Problems
Pivot Tables in Microsoft Excel are created by applying an operation such as sorting, averaging, or summing to the data in certain tables. The results of the operation are saved as summarized data in other tables. Typically, working on the grouping of saved data, Pivot Tables are used in data processing and are found in data visualization programs, such as spreadsheets or business intelligence software.
Put simply, Pivot Tables in Excel allow you to extract the significance or the gist from a large, detailed data set by allowing you to slice-and-dice data, sort-and-filter data, or arrange it in any way you want.
Frequently Encountered Problems with Pivot Tables in MS Excel
Take a look at the most frequently encountered Pivot Table issues:
- You add new data into a pivot table but it doesn’t show up when you refresh
- Pivot Table contains Blanks instead of Zeros for fields that have no source data
- Automatic field names assigned by the Pivot Table can be inappropriate
- It doesn’t directly show the percentage of total
- Grouping one pivot table affects another
- Your number of formatting gets lost
- Refreshing a pivot table messes up column widths
- Field headings make no sense and add clutter
While some of the above problems seem minute and can easily be resolved using a few tweaks, bigger issues like unexpected Pivot Table error messages that an Excel throws can be troublesome.
Pivot Table Errors & Their Reasons
Excel users who have built new Pivot Tables in Excel often report the following errors when trying to reopen a previously saved workbook:
We found a problem with some content in
Naturally, users are prompted to click on ‘Yes’. But when they do, they get another error message saying:
Removed Part: /xl/pivotCache/pivotCacheDefinition1.xml part with XML error
(PivotTable cache) Load error. Line 2, column 0
Removed Feature: PivotTable report from /xl/pivotTables/pivotTable1.xml part (PivotTable view)
Such errors are indicative of the fact that the data within the Pivot Table still exists, but the table itself isn’t functioning anymore.
There could be two primary reasons behind such behavior:
- You’ve created the Pivot Table in an older version of Excel but are trying to open-refresh-save it through a newer Excel version
- The Pivot Table itself is corrupted
How to Repair the Pivot Table Quickly?
To solve the errors associated with Pivot Tables, you need to repair them. But Microsoft doesn’t offer any inbuilt technique or option to repair Pivot Tables. Thus, to fix the issue, you either need some sort of workaround or an Excel file repair software .
Methods to Fix Corrupt Pivot Table in MS Excel
Though there aren’t many options to fix the Pivot Table, you can follow these workarounds to try and repair a corrupt Pivot Table of MS Excel. However, before following these steps, create a backup copy of your Excel file.
Method 1: Open MS Excel in Safe Mode
First, try opening the Excel file in safe mode and then check if you can access the Pivot Table. If you can, save all its contents to a new Pivot Table in the latest version of Excel so that this problem doesn’t arise anymore.
Method 2: Use Pivot Table Options
If, however, above method doesn’t work, follow the below-mentioned steps:
- Right-click on the Pivot Table and click on Pivot Table Options
- On the Display tab, clear the checkbox labeled “Show Properties in ToolTips”
- Save the file (.xls, .xlsx) with the new settings intact
Method 3: Make Changes to Pivot Table
If the above method or steps didn’t work,
- Try opening the Pivot Table Options window by right-clicking on the Pivot Table within your Excel file
- Select Pivot Table Options from the pop-up menu and make appropriate changes to the options given there
- Then check if the issues go away
Method 4: Check and Set Data Source
If the problem in the Pivot table is related to data refresh,
- Go to Analyze > Change Data Source
- Check if the data source is set properly
- Also, try reselecting the data source and check if the refresh option is working properly
If not, resorting to Stellar Repair for Excel software might be your only hope.
Excel Pivot Table Repair by Using Excel Repair Software
When corruption strikes an Excel Pivot Table and no manual trick work, Stellar Repair for Excel is the best solution. This easy-to-use Excel Repair software repairs even the most severely corrupted Excel (XLS/XLSX) files to restore all data, properties, formatting, and preferences. It enables users to extract their saved data into new blank Excel files.
If you have this utility by your side, you don’t need to think twice about any Excel error.
What customer says about the Excel Repair Software?
Conclusion
Excel Pivot Table corruption may occur due to any unexpected errors or reasons. This can lead to inaccurate observation in data analysis and also cause data loss if not fixed quickly. However, you can prevent data loss due to problems caused by Pivot Table corruption by keeping a backup of all your critical Excel files and fix the Pivot Table corruption by using proper tools, such as Excel file repair software, that can help you get over any Excel corruption and errors quickly.
Data Disappears in Excel - How to get it back
Summary: You may face the issue of ‘Excel spreadsheet data disappeared’ after changing Excel file properties and formatting rows and columns. This blog discusses the possible reasons for data disappearance and the solutions to fix the issue. Also, it mentions an Excel file repair tool to retrieve the data from the file. Sometimes, while editing or formatting a cell in an Excel spreadsheet, the data may go missing or disappear. Let’s discuss in detail the reasons that may cause the ‘Excel data disappeared’ issue along with the solutions.
Probable Reasons for Data Disappearing in MS Excel and Solutions Thereof
Reason 1 – Unsaved Data
While entering data in an Excel spreadsheet, it is important to save the data at frequent intervals. Doing so prevents any unsaved data from disappearing if you lose power or accidentally click ‘No’ when prompted to save the file. Unfortunately, such a situation is quite common as users often close the file without saving the recently made changes to a spreadsheet.
Solution – Use the ‘AutoSave’ Feature
With the AutoSave feature enabled in Excel, data won’t be lost in the event of power failure or abruptly closing the Excel program. By default, Excel automatically saves the information in a spreadsheet after every 10 minutes. You can reduce the limit to a few seconds to reduce the chances of Excel file data lost after being saved.
Reason 2 – Changing Excel Format
You can save an Excel file in various formats, like spreadsheet, text, webpage, and more. However, at times, saving the spreadsheet in a different format may lead to missing data. For example, when you save a workbook to a text file format, all formulas and calculations applied to the data will be lost.
Solution – Adjust a Spreadsheet for the Changed Format
If you’re changing the format of a spreadsheet, make space for the rows and columns. Also, remove all calculations before saving the file.
Note: If the sheet is shared on multiple computers, then save the file in compatibility mode.
Reason 3 – Merging Cells
You can combine two or more cells data to make one large cell. This technique is primarily used to fit the text of a title in a sheet. If there is data in two or more cells, then only the data in the top-left cell is displayed and the data in all other cells is deleted. If the other merged cells have been populated with data after merging, the data is not featured and it does not appear even after remerging the cells.
Solution – Merge Cells inside One Column
To merge cells without data loss, combine all the cells you want to merge within a column and do the following:
- Select the cells to be combined.
- Ensure that column width is wide enough to fit the contents of a cell.
- In the spreadsheet, under the Editing group, click ‘Fill,’ and then click ‘Justify.’
- Under Alignment, click on the ‘Merge & Center’ option to center align the text. Or, click on ‘Merge Cells’.
Note: This solution works for text only. You cannot use it to merge formulas or any numerical values. If you need to combine two or more cells with formula into a single cell, try using the Excel CONCAT function .
Reason 4 – Cell Formatting
Cells and text in the cells can be displayed in different colors to make the spreadsheet simple to create and infer. You may experience data loss when you try to modify the data or change the color or size of the data. Though the information may exist, the data may show an error due to the following reasons:
- White-colored text will not show in a white-colored cell
- Large font-sized data may not appear in small-sized cell
- Calculations may show (#VALUE) error after cell-formatting
Solution – Check and Clear Formatting
Make sure to use dark-colored text on a white-colored cell. Also, resize the cell to fit the text size. Check if numbers in a cell are entered as text. If so, you need to apply a number format to the text-formatted numbers. Read more about it, from here .
What Else You Can Do to Resolve the ‘Excel Data Disappeared’ Issue?
If you can’t recover the missing Excel file data, try to repair or extract the data from the file using the built-in Excel repair tool. Follow the below steps to use the tool:
- Open MS Excel, click File > Open > Computer > Browse.
- On the ‘Open’ window, select the file you want to repair and then click on the Open dropdown.
- Select Open and Repair.
Use the ‘Repair’ option to repair the file and recover as much data as you can from the repaired file. If this doesn’t work, use the ‘Extract’ option to recover the data.
If you fail to retrieve the disappeared data from that file using the above-listed steps, opt for an Excel repair tool , like Stellar Repair for Excel. This software has a proven track record of repairing corrupt or damaged Excel files and recover all the data.
The software helps:
- Fix all corruption errors. It helps in getting back the data which has disappeared.
- Repair a single as well as multiple Excel files.
- Recover all components of XLS/XLSX files – tables, chart sheet, cell comment, image and more.
- Preserve the worksheet properties and cell formatting.
- Support the latest Excel 2019 and earlier versions.
The Excel repair software repairs the Excel file in these simple steps:
- Launch and open the software.
- Select the corrupt Excel file by using the ‘Browse’ option. If the file location is not available, then find the Excel file using the ‘Search’ option.
- Click ‘Repair’ to scan the corrupt file.
- Once the repair process is complete, verify the components of Excel file and check if the available preview shows complete data that disappeared from Excel.
- Save file at default location or preferred location.
The Excel file with all the restored data will be saved at the selected location.
Conclusion
It is better to repair the affected Excel file than suffer the loss when data or text disappears in Excel. A professional software ensures that users get back all the data in the form of a new Excel file. Stellar Repair for Excel software repairs the corrupt file without modifying the original content and file format. The software’s easy-to-use user interface lets you perform the functions without formal software training and technical expertise.
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.
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.
How to Fix ‘Sharing Violation Error’ when Saving Excel?
Summary: You may encounter the sharing violation error in Excel when you repeatedly save changes in a workbook. The error can occur due to different reasons. In this blog, we will discuss the possible reasons behind this sharing violation error and some effective solutions to fix it. If the issue has occurred due to corruption in Excel file, you can try the advanced Excel repair tool mentioned in the post to repair the corrupted file.
It is not uncommon to encounter errors while working with Excel application. One common error that Excel users face is the sharing violation error that occurs while saving an Excel spreadsheet. The complete error message says, “Your changes could not be saved to file because of a sharing violation.” When this error occurs, users won’t be able to save the changes in the file. So, it is important to fix this issue as soon as possible. But before fixing the error, let’s find out the causes behind this error.
Causes of Excel Sharing Violation Error
This error may pop up due to the below reasons:
- The file you are trying to save is corrupted.
- The Excel file is not in the trusted location.
- Sharing Wizard is disabled.
- You do not have permission to modify the Excel file.
- The Excel file is not permitted to get indexed.
Methods to Fix the Sharing Violation Error in Excel
You can move the affected Excel file to a new folder and save it with a different name. Then, see if it fixes the error. If it doesn’t help, you can try the below methods.
Method 1: Check and Change the Excel File Properties
You can get the sharing violation error in Excel if the file attribute options, such as “File is ready for archiving” and “Allow this file to have contents indexed in addition to file properties” are disabled. You can check the File Properties and enable these options to fix the issue. Here are the steps:
- Right-click on any Excel file and select Properties.
- In the Properties window, click on the Advanced option.
- In the Advanced Attributes window, select the below options under File attributes:
- File is ready for archiving.
- Allow this file to have contents indexed in addition to file properties.
- Click OK.
Note: If these options are already selected, then unselect and re-select them.
Method 2: Enable Sharing Wizard Option
The error “Your changes could not be saved to file because of a sharing violation” can also occur if the sharing wizard option is disabled on your system. You can check and enable the sharing wizard option using these steps:
- Go to your system’s Documents folder.
- Click View > Options > Change folders and search options.
- In the Folder Options window, click View.
- Under the View section, search for the “Use Sharing Wizard” option in the Advanced Settings.
- If the Use Sharing Wizard option is unselected, select it and then click OK.
Method 3: Move the Excel File to a Trusted Location
You can encounter the sharing violation error if the file you are trying to save is not in the trusted location. You can try moving the file to a trusted location by following these steps:
- In Excel, go to File and then click Options.
- Click Trust Center and then click Trust Center Settings.
- In the Trust Center window, click Trusted Locations and then click Add new location.
- In the Add new location window, select Browse to locate and choose the folder, and then click OK.
Method 4: Open Excel in Safe Mode
Incompatible add-ins can create issues in the Excel file. To check if the sharing violation issue has occurred due to add-ins, open Excel in safe mode. To do so, follow these steps:
- Open the Run window using Windows + R.
- Type excel /safe and click on OK.
- Open the affected file and then try to save the changes.
- If you are able to save the changes without any error, then it indicates add-ins are causing the issue. To fix this, you can remove the recently downloaded add-ins (if any).
Method 5: Repair the Excel File
Corruption in Excel file can also create issue while saving the changes. In such a case, you can repair the corrupted Excel file using the inbuilt utility in Excel, named Open and Repair. Follow these steps to use this utility:
- In Excel, navigate to File > Open > Browse.
- In the Open dialog box, click on the affected Excel file.
- Click the arrow next to the Open button and select Open and Repair from the dropdown.
- Click on the Repair option to recover as much data from the file as possible.
If the above utility fails to fix the corrupt Excel file, then you can use a more powerful Excel repair tool , such as Stellar Repair for Excel. This Excel repair tool can repair even severely corrupted or damaged Excel files (xls, .xlsx, .xltm, .xltx, and .xlsm). This tool can recover all the data from the corrupted Excel file, including images, chart sheets, formulas, etc., without changing the original format. It can help in fixing common corruption-related errors in Excel. You can download the software’s demo version to scan the corrupt file.
To Conclude
Above, we have discussed some effective methods to fix the sharing violation error in Excel. This error may also occur if you try to save the Excel file in an incompatible format. So, check the format and try saving the file in a compatible format. If the error occurs due to Excel file corruption, you can repair corrupt Excel file using the Open and Repair tool. If nothing works, then download a third-party Excel repair tool, such as Stellar Repair for Excel. It is an advanced tool that can fix severely corrupted Excel files. You can install this repair tool on any Windows system.
[Fixed] Excel Cannot Open the File Because the File Format or File Extension Is Not Valid
When opening an older version of an Excel file in a newer version, you may encounter the “Excel cannot open the file because the extension is not valid” error. This happens if you have accidentally renamed the file with a different file format or an incorrect file extension. Also, you may get the ‘Excel cannot open the file’ error if the file has become unreadable or corrupted.
This is how the complete Excel error message looks like:
“Excel cannot open the file filename.xlsx because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.”
Check out this video for a quick demonstration of how to fix “Excel Cannot Open the File Because the File Format or File Extension Is Not Valid”
How to Fix the ‘Excel Cannot Open the File Because the File Format or Extension Is Not Valid’ Error?
Try any of these workarounds to fix the error and regain access to your Excel file data:
Workaround 1 – Change the Default File Format
By default, an Excel file is saved in .xlsx or .xls file format. Trying to open the file with a different or incorrect extension may cause the ‘Excel cannot open the file because the extension is not valid’ error. To fix the error, try changing the Excel default file format by following these steps:
Note: Take a backup of the Excel file that you cannot open and try the steps on the backup copy.
- In Excel 2010 and newer versions, click on the File menu.
Note: For Excel 2007 and earlier versions, click on the Office button.
- On the left panel, click on Options.
- In ‘Excel Options’ window, under Save workbooks section, click on the Save files in this file format: drop-down. Select a file format (i.e., the one supported by your Excel version).
- Click OK.
Check if you can open your Excel file. If not, try the next workaround.
Workaround 2 – Edit the Excel File Permissions
You may receive the ‘Excel file format or file extension is not valid’ error if you lack sufficient permissions to open the file. Usually this happens when you try to open an Excel file received from some other user. Follow these steps to change the file permissions and see if it fixes the problem:
- Right-click on the file that won’t open and click Properties.
- In the file properties dialog box, click the Security tab and then hit the Edit button.
- When the file’s permissions dialog box appears, click on the Add button.
- Click on the Advanced button from the ‘Select Users or Groups’ window.
- Select Find Now. A list of all users and groups will get displayed in a search results box. Choose Everyone group from the list and hit OK.
- You can see the ‘Everyone’ group in the ‘Enter the object names to select’ textbox. Click OK once again to return to the file’s permission dialog box.
- Click Everyone from the Group or user names: box and check all the checkboxes under Allow.
- Click on Apply and then OK.
Now try to open the Excel file. If you’re still getting the Excel file cannot open error, use the following workaround.
Workaround 3 – Recover Unsaved Workbook
If the ‘Excel file extension not valid error’ occurs when attempting to open an unsaved workbook, do the following to recover the unsaved workbook:
- In Excel, click File.
- From the Info screen, under Manage Versions, click Recover Unsaved Workbooks.
Excel will list any unsaved files. Try opening the file and save it. If this doesn’t work, skip to the next workaround.
Workaround 4 – Repair the Workbook
If none of the above workarounds has worked for you, chances are that the Excel file has become corrupted. Try to repair the file using the Excel inbuilt ‘Open and Repair’ utility by following these steps:
- In your Excel application, click on File > Open.
- In the ‘Open’ dialog box that pops-up, select the Excel file you want to repair and click the arrow next to the Open button.
- From the dropdown list, select Open and Repair.
- Excel will ask you to attempt to repair the file or extract data from it. Click Repair to retrieve maximum data. If the Repair option fails, click on Extract Data to recover the data without formulas and values.
If the ‘Open and Repair’ utility doesn’t help fix the corrupted file and/or recover the data, use an Excel repair tool such as Stellar Repair for Excel to regain access to your file and its data.
Stellar Repair for Excel software can help repair severely corrupted XLS and XLSX files. Also, it helps recover all the file components, including tables, pivot tables, cell comments, charts, chart sheets, images, formulas, etc., without impacting the original structure of the Excel file.
To learn how the software works, read this: How to repair corrupt Excel file using Stellar Repair for Excel?
Conclusion
You may encounter the error ‘Excel cannot open the file because the extension is not valid’ when opening a workbook with a different file format or an incorrect file extension. Also, the error may occur if the Excel file has turned corrupt. This article has covered some of the most effective workarounds to resolve the error. But if nothing works, you can try to repair the Excel file and retrieve its data using the Stellar Repair for Excel software.
- Title: Repair Office 2021 Files (Word, Excel and PowerPoint)on Windows | Stellar
- Author: Ian
- Created at : 2024-09-19 05:04:24
- Updated at : 2024-09-24 03:28:36
- Link: https://techidaily.com/repair-office-2021-files-word-excel-and-powerpointon-windows-stellar-by-stellar-guide/
- License: This work is licensed under CC BY-NC-SA 4.0.