Fix Cannot Paste the Data Error in Microsoft Excel 2010 | Stellar

Fix Cannot Paste the Data Error in Microsoft Excel 2010 | Stellar

Nova Lv12

Fix Cannot Paste the Data Error in Microsoft Excel

When copying and pasting the cell contents or attributes from one workbook to another, you can encounter the “Cannot paste the data” error. The error indicates that the values you are trying to paste do not match the cell format (Currency, Date, Text, etc.) used in the column. The error can occur if you are attempting to paste information into a merged cell. You can also get this error if the data you are trying to paste contains more columns than the destination worksheet can accept or if the copy area and paste area aren’t the same size.

Why you cannot Paste the Data in Microsoft Excel?

You can experience the “Excel cannot paste the data” error due to one of the following reasons:

  • Locked cells
  • Data size limitation
  • Formatting issues
  • The file size is too large
  • Overloaded clipboard
  • Data type mismatch
  • Invalid range
  • Lack of permissions
  • Excel file is corrupted
  • Compatibility issues
  • While pasting the merged cells

Methods to Fix MS Excel Cannot Paste the Data Error

The “Microsoft Excel cannot paste the data” error usually appears when copying and pasting data within the spreadsheet. It primarily affects the copy-and-paste feature within the Excel file. However, the impact of this error may vary with the data you are working with. When this error occurs, first try restarting the Excel application. Ensure that you’ve saved all your important data before restarting the application to prevent data loss. If, after performing this basic step, you still face the issue, then try the following troubleshooting methods.

Method 1: Check and Unlock Cells in Excel

You can get the Excel cannot paste the data error if the cells you are trying to paste in the Excel file are locked. You can check and unlock the specific cells in the Excel file using the below steps:

  • Go to the Home tab in your Excel file and click Format Cell Font popup launcher.

Clicking Cell Font In Home

  • In the Format Cells dialog box, click Protection.

Selecting Protection from Font family with formatting

  • Under the Protection option, unselect the locked field and then click OK.

Click on Locked Cell under Protection Tab

Method 2: Check and Fix the Cell Format

Sometimes, you can get the “Cannot paste the data” error in Excel if there is an issue with the formatting of the cells in the column (in which you are trying to paste the data). You can check whether the cell formats of the columns of the source file (from where you are copying data) match the destination file (in which you are pasting the cell data). If not, then change the cell format. Here’s how to do so:

  • In the Excel file, click on the affected column heading (whose cells you need to modify).
  • Navigate to the Home tab and click the General dropdown menu.

Navigate to Home and Click general drop down menu in Excel

  • Click on the desired cell format that matches the values you are trying to paste into the column.

Method 3: Check Copy and Paste Area Size

The “data cannot be pasted” issue can also occur if Excel detects the copy area of the range of cells is not of the same size and shape as that of the paste area. So, make sure the size of the range of cells for the paste area is same as the copied area. To ensure this, you can try the following:

  • Use Upper-left Cell

 You can select the upper-left cell instead of the complete range to paste.

  • Use Paste Special Option

  • You can use the Paste Special option to paste the data. To use this option, go to Home > Paste Special.

Navigate to Home And click on Paste Special in Excel

  • You can choose from the different options, such as paste all, formulas, operations, Transpose, skip blanks, etc. to take control over how the data is pasted.

Click on Paste and Selection of Operations from Paste Special Properties

Method 4: Check and Unmerge Cells

The merged cells in the workbook can create discrepancies when copying and pasting data. These can create mismatch between the source and destination cell areas, resulting in errors. Make sure you are not pasting the data copied from merged cells. You can check and unmerge the cells using the below steps:

  • Open the Excel file (in which you are copying data) and go to the Home tab.
  • Click Merge & Center > Unmerge Cells.

Under Excel Navigate to Home and click on Merge and Center

Method 5: Unselect the Excel DDE (Dynamic Data Exchange) Option

Sometimes, you can get the Excel cannot paste the data error while copying and pasting data from Excel file to external data sources or applications. It usually appears if you have established DDE links between them. To resolve this, you can uncheck the “Ignore other applications that use Dynamic Data Exchange (DDE)” option. Follow the below steps to do so:

  • Open your Excel file.
  • Go to File > Options.

In Excel Options, click Advanced and unselect “Ignore other applications that use Dynamic Data Exchange (DDE). Click OK.

Under Excel Navigate to Home and click on Merge and Center

Here are some additional solutions you can try to fix the “Cannot paste the data” error in Excel

Check the Excel File Format

Sometimes, the copy and paste error can occur if you try to move data from an older version of Excel file (XLS) into a newer version file (XLSX) or vice versa. You can try to change or convert the file format to resolve the issue.

Clear Clipboard

Too many items on the clipboard can prevent you from copying and pasting the data. You can empty your clipboard  by deleting all clips. To do this, go to Home and click the Clipboard option.

Change the Column’s Cell Format

You can get the “Cannot paste the data” error when the information you need to paste does not match the cell format in the column. In such a case, you can change the column’s cell format. To do this, navigate to the Home option and then click on the General menu arrow. Then, change the cell format suitable to the type of information you are trying to paste in that column.

Add Columns

The copy-and-paste error in Excel can also occur if there are not enough columns to accept the data that you are trying to paste. You can insert more columns and then try copying and pasting data. To insert additional columns, click on the column heading, click Home, and then select Insert.

Remove Incompatible Add-ins

Sometimes, incompatible or faulty add-ins can also create conflicts with Excel’s clipboard operations, leading to the error. To check if add-ins are causing the issue, open the Excel file in safe mode. In safe mode, if you are able to paste the data, then check and uninstall the incompatible Excel Add-ins.

What to do if Nothing Works?

If the above methods do not work, then corruption in the Excel file could be the cause of the “Cannot paste the data” error. In such a case, you can use Excel’s built-in Open and Repair utility to repair the corrupted file. Here’s how to use this utility to repair the Excel file:

  • Open your Excel application.
  • Navigate to File and then click Open.
  • Click the Browse option to select the affected Excel file.
  • The Open dialog box opens up. Click on the corrupted file.
  • From the Open dropdown, select the Open and Repair option.
  • The Excel will prompt you to choose one of the below options:
  • Repair
  • Extract
  • Cancel
  • Select the Repair option to extract maximum data from the file. If the Repair option fails, choose the Extract option to recover the data, excluding formulas and values.

 The Open and Repair utility may not be able to repair your Excel file if it is severely corrupted. In such a situation, the best possible way out is to use a professional Excel repair software to repair the file. You can try Stellar Repair for Excel. It can repair highly damaged or corrupted Excel (.xls, .xlsx, .xltm, .xltx, or .xlsm) file and recover all the objects from the file by maintaining the original formatting. The tool supports 2007 and higher editions of MS Excel. You can download the demo version of the software to preview the repaired objects and verify its functionality.

Conclusion

The “Excel cannot paste the data” error in Excel can occur due to different factors. You can check and clear the clipboard, unmerge the cells, unlock the cells, and use various other methods mentioned above to troubleshoot the error. If you fail to copy and paste the data due to file corruption, then opt for an advanced Excel repair software, like Stellar Repair for Excel. It is a reliable tool that can help you repair highly damaged/corrupted Excel files. It enables you to recover all the objects from the corrupted Excel file, with complete integrity.

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.

Free Download for Windows

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

Stellar

  • From ‘Select Location’ screen, select the connected pen drive and click ‘Scan

Stellar

  • The scanning process starts and once the process is complete, software lists all the recoverable files

Stellar

  • 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’

attrib command

  • 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.

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:
  1. To repair corrupt Word (.doc, .docx) files, launch MS Word
  2. To repair corrupt Excel files (.xls, .xlsx) files, launch MS Excel
  3. 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.

free download

  • 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.

Solutions to Repair Corrupt Excel File

Summary: MS Excel can throw various errors due to corrupted Excel files. This blog discusses the error messages that indicate Excel file corruption and the methods to prevent data loss due to a corrupt file. It also discusses the reasons behind the corruption in Excel file and their solutions. It also mentions a “Stellar repair for Excel” tool that can help to repair the corrupt or damaged Excel file.

Free Download for Windows

Is your Excel file corrupted? And you don’t have backup of your data? There is no need to worry. There are some simple solutions to repair Excel file 2019. But before heading towards the solutions, let’s discuss the possible reasons for Excel file corruption and how you can prevent losing your data.

Error Messages that Indicate Excel File Corruption

When an Excel file gets corrupted, different error messages appear. For example:

  • “Excel found unreadable content in . Do you want to recover the content of this workbook, click Yes.”
  • “Can’t find project and library.”
  • “The workbook cannot be opened or repaired by Microsoft Excel because it is corrupted.”
  • “Microsoft Excel has stopped working.”

Reasons Behind Excel File Corruption

The reasons for corruption in Excel file could be any of the following:

  • Improper system shutdown
  • Computer virus/malware attack/Hacker attack
  • Outdated anti-virus definition
  • Hardware failure
  • Unintentional deletion of files
  • Large Excel files
  • Bad sectors on storage media

How to Avoid Data Loss Due to Excel File Corruption?

Excel users should follow the below precautionary measures to prevent data loss due to Excel file corruption:

1. Create an Automatic Backup Copy

When you create an Excel spreadsheet, it is advised to Save As your document, as follows:

  1. In Save As window, click Tools next to Save option.
  2. Select General Options from the drop-down menu.
  3. Then check the dialogue box Always create back up and click OK.

Enable automatic backup by clicking Tools next to Save in the Save As window, choosing General Options, checking the Always create backup box, and clicking OK.

This will always create a backup of your Excel. If it’s deleted or corrupted at any time, it can be recovered.

2. Create Recovery File at Different Time Periods

Steps are as follows:

  1. Go to File and then click Excel Options.
  2. Click Save and then select the Save Auto Recover information every checkbox
  3. Add the required minutes and location. Ensure that Disable AutoRecover for this workbook only box is unchecked.

Access Excel Options from the File menu, navigate to Save, enable Save AutoRecover with specified minutes and location, and ensure the Disable AutoRecover for this workbook only box is unchecked.

Methods to Repair Corrupted Excel 2019 File

Try using these 5 methods to restore your Excel file and recover data:

Method 1: ‘Open and Repair’ Excel Files

Excel automatically opens the corrupted file in Recovery Mode. If not, you can repair Excel file manually through the following steps:

  • Click on the File and select Open.

File and select Open

  • Go to the location where the corrupt workbook is stored. In the Open window, select the corrupt file.
  • Click Open and then select Open and Repair.
  • In the window that opens, click Repair.

If the Repair option doesn’t work, you can select Extract Data and try to extract the values and formulae safely from the corrupt file.

Method 2: Recover Data from Open Workbook

If you face issues while working in an Excel file, you can choose to return to the last saved version of the Excel file. For this:

  • Click File. Then select Open.
  • Double click on the name of the workbook (the one that is open in your Excel).
  • Click Yes to reopen it.

Navigate to the File menu, select Open, double-click on the open workbook's name in Excel, and confirm by clicking Yes to reopen the workbook.

  • The workbook will now appear.

Please note that it will show the last saved version and changes made after that won’t be recovered.

Method 3: Set Calculation Option as Manual

You can also recover data from Excel workbooks that you’re unable to open. For this, you need to configure the calculation option as manual in Excel. You can do this through the following steps:

  • Click on File. Select New and open a Blank workbook.
  • From File, select Excel Options.

Microsoft Excel - Home Options

  • From the Formulas category, under the section Calculation options, select Manual. Now click OK.

Access the Formulas category, go to Calculation options, choose Manual, and confirm the changes by clicking OK.

  • Then click File, and select Open to open the corrupted or damaged Excel file.

You can also recover specifically the content (leaving formulas/calculated values) from the workbook by using external references (to link Excel workbook). For this:

  • Click on File, Select Open.
  • Navigate to the folder that contains the corrupted workbook.
  • Now, right-click on the file name of the corrupted workbook and click Copy.
  • Click File button. Then, select New and create another blank workbook.
  • In the first cell (A1), type =!A1 and press Enter.
    • Select the corrupted workbook in the Update Values dialogue (if it appears). Then click OK.
    • Select the relevant sheet in the Select Sheet dialogue (if it appears). Then click OK.

Microsoft Excel - Dialog box

  • Again, select the cell A1, go to Home and select Copy.
  • Now select (start from the cell A1) an area equal to that of the data in the original workbook.
  • Go to Home now and select Paste.
  • Again, go to Home, and Copy the data (the same selection of cells).
  • Go to Home, and then click on the arrow below Paste. Then click on Values.

By pasting values, you removed the links to the corrupted workbook and only the data is left behind.

Method 5: Excel Repair Software

If the above-mentioned methods do not help in repairing the corrupt Excel file, try an Excel repair software.

One of the most commonly used Excel repair tools is Stellar Repair for Excel. Its trial version is available for free download, which lets you scan and preview the repaired Excel files. Once you’ve ascertained the effectiveness of the software, you can save the file after activating the software.

Here’s the complete repairing process of the corrupt Excel file

Conclusion

This post shared the reasons behind Excel file corruption and precautionary measures to prevent data loss. It also outlined different methods to repair corrupt Excel file 2019. There are several in-built utilities in Microsoft Excel to repair corrupt workbooks and recover data from it. In case these methods didn’t work, you can use Stellar Repair for Excel – an easy-to-use DIY tool that can fix all Excel corruption errors and restore data with all original properties.

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.

Free Download for Windows

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.

Click On Properties Option

  • In the Properties window, click on the Advanced option.

Click On Advanced Button On Properties Window

  • 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.

Select File Is Ready For Archiving Option

  • 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.

Click View Option In Documents

  • In the Folder Options window, click View.

In Folder Options Click On View

  • Under the View section, search for the “Use Sharing Wizard” option in the Advanced Settings.

Select Use Sharing Wizard

  • 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.

Click Trust Center Settings In Trust Center

  • In the Trust Center window, click Trusted Locations and then click Add new location.

Click On Add New Location Option

  • 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 Safe Mode Command In Excel

  • 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.”

Excel Cannot Open the File Extension Not Valid Error

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).

Save Workbook in Other File Format

  • 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.

Edit Excel File Properties

  • When the file’s permissions dialog box appears, click on the Add button.

Add Excel File Permissions

  • Click on the Advanced button from the ‘Select Users or Groups’ window.

Open Advanced Settings

  • 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.

Select Everyone Group

  • 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.

Everyone Group is Added Users Groups

  • Click Everyone from the Group or user names: box and check all the checkboxes under Allow.

Allow Permissions for Everyone

  • 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.

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.

Select Excel File for Repairing

  • From the dropdown list, select Open and Repair.

Open and Repair Excel File

  • 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.

Repair Excel File

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.  

free download

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.

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.

error message

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.

Illustrates the 'Read-only' attribute in Excel XLSX document

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.

Protected View

  • 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.

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.

Quick Repair and then click Repair to fix problems

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.


  • Title: Fix Cannot Paste the Data Error in Microsoft Excel 2010 | Stellar
  • Author: Nova
  • Created at : 2024-03-12 20:55:58
  • Updated at : 2024-03-14 22:26:46
  • Link: https://phone-solutions.techidaily.com/fix-cannot-paste-the-data-error-in-microsoft-excel-2010-stellar-by-stellar-guide/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Fix Cannot Paste the Data Error in Microsoft Excel 2010 | Stellar